Rust Tools for Novices
Small and easy functions for absolute beginners in Rust and programming.
Sometimes a seemingly easy task, like reading an integer input from the user, is actually something complex with many sources of errors. Instead of overwhelm the
beginner with the explanation, it's often useful to just start with something easy, like fn read_number() -> isize
. Easy to use and not very confusing.
Note: This means that you shouldn't use this crate in production or something.
Example
Here is a simple example (see example/read_stdin.rs
):
extern crate novice_tools;
use *;