I hereby claim:
- I am seanchen1991 on github.
- I am seanchen1991 (https://keybase.io/seanchen1991) on keybase.
- I have a public key ASCc2bo7bnzbs-9ze9rmx2ADPJONPLwD673CmLnuNWticwo
To claim this, I am signing this object:
;; -*- mode: emacs-lisp; lexical-binding: t -*- | |
;; This file is loaded by Spacemacs at startup. | |
;; It must be stored in your home directory. | |
(defun dotspacemacs/layers () | |
"Layer configuration: | |
This function should only modify configuration layer settings." | |
(setq-default | |
;; Base distribution to use. This is a layer contained in the directory | |
;; `+distribution'. For now available distributions are `spacemacs-base' |
I hereby claim:
To claim this, I am signing this object:
The error handling project group aims to reduce confusion on how to structure error handling for users in the rust community. This will be accomplished by creating learning resources and pushing effort to upstream widely used crates into std. As a secondary goal this project group will also try to resolve some known issues with the Error trait and reporting errors in panics/termination.
use std::env; | |
use std::path::Path; | |
use std::io::prelude::*; | |
use std::io::{stdin, stdout, Write}; | |
use std::process::{Command, Child, Stdio}; | |
fn main() -> io::Result<()> { | |
loop { | |
print!("> "); | |
stdout.flush(); |
Write a function that takes two strings and returns the "smallest" string. If both strings are equal, you may return either string. Strings will only consist of lowercase letters and numbers: [a - z][0 - 9]. Letters earlier in the alphabet are considered smaller. Consecutive digits in the string should be considered a single number.
Examples: