Skip to content

benmyles/rustex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rustex

Exercises to learn the Rust programming language.

Getting Started

Prerequisite: Simply visit https://www.rustup.rs/ and follow the instructions to install Rust.

For each exercise, the goal is to ensure that both cargo run and cargo test execute without error:

[hello]$ cargo run
   Compiling hello v0.1.0 (file:///home/ben/Projects/rustex/00001/hello)
    Finished debug [unoptimized + debuginfo] target(s) in 0.29 secs
     Running `target/debug/hello`
Hello Samwise
Hello Marvin
[hello]$ cargo test
   Compiling hello v0.1.0 (file:///home/ben/Projects/rustex/00001/hello)
    Finished debug [unoptimized + debuginfo] target(s) in 0.33 secs
     Running target/debug/deps/hello-72158781518ace74

running 1 test
test test_hello ... ok

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured

Learning Materials

Releases

No releases published

Packages

No packages published

Languages