learning-rust.github.io icon indicating copy to clipboard operation
learning-rust.github.io copied to clipboard

Rust Programming Language Tutorials for Everyone!

Results 8 learning-rust.github.io issues
Sort by recently updated
recently updated
newest added

It's just an opinion but, I think, the formula for showing multiple files in one code block makes it really confusing to read. It would be much better for multiple...

In the very first example in the Vectors chapter ```rust let mut a = Vec::new(); //1.With new() keyword let mut b = vec![]; //2.Using the vec! macro ``` when I...

Hi, I'm new to Rust and trying the sample in this doc https://learning-rust.github.io/docs/borrowing/ The code ```rust fn main() { let mut a = vec![1, 2, 3]; let b = &mut...

bug

Chapter about vectors: > ⭐️ Mainly a vector represent 3 things, > > - A pointer to the data > - No of elements currently have(length) > - Capacity (Amount...

https://learning-rust.github.io/docs/lifetimes/#03-with-impls-and-traits ```rust struct Struct { fn function Struct(&self) -> &'a str { | ^^ lifetime `'a` already in scope For more information about this error, try `rustc --explain E0496`. error:...