Exploring language rust through official documents and "rust by example"
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
greprs
.gitignore
Option.rs
README.md
Snufflifors_Spell.rs
alias.rs
array_slices.rs
casting.rs
constants.rs
enums.rs
expressions.rs
fmt_debug.rs
fmt_display.rs
for_range.rs
formatter.rs
hello_world.rs
if_else.rs
initialize_later.rs
linked_list.rs
linked_list_example.rs
literal_annotation.rs
literals.rs
loop.rs
match.rs
printing.rs
rusty_while.rs
scope_and_shadowing.rs
structs.rs
temp
the_matrix.rs
tuples.rs
type_inference.rs
use_of_use.rs

README.md

exploring-rust

Exploring language rust through official documents and "rust by example" book.

File name Concept
hello_world.rs The hello world of Rust!
printing.rs The hows/ways of formatted printing in Rust
fmt_debug.rs Example of fmt::Debug trait.
fmt_display.rs Example of fmt::Display trait.
formatter.rs Example of formatting in Rust.
literals.rs Simple demonstrations of literals in Rust.
tuples.rs Example of a Tuple in Rust.
array_slices.rs Array and slices in Rust.
structs.rs Structs in Rust.
enums.rs Enums in Rust.
use_of_use.rs Short-circuiting manual scoping using use.
linked_list.rs A simple Linked-list in Rust.
constants.rs A simple example demonstrating constants in Rust.
the_matrix.rs A simple example of variable binding in Rust using 'the matrix' movie references.
Snufflifors_Spell.rs Understanding mutability in Rust using Harry Potter spell.
scope_and_shadowing.rs Scope and shadowing of variable bindings in Rust.
initialize_later.rs Late initialization of variable bindings in Rust.
casting.rs Examples of casting in Rust.
literal_annotation.rs Numeric literals type annotation in Rust.
type_inference.rs Type inference in Rust.
alias.rs alias in Rust.
expression.rs block expressions and simple expressions in Rust.
if_else.rs if else flow control example in Rust.
Option.rs Option enum in Rust, to avoid null dereferencing.