mirror of
https://github.com/ArthurDanjou/rustlings.git
synced 2026-01-27 18:10:26 +01:00
Added filename to top of .rs files
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
// option1.rs
|
||||
// This example panics because the second time it calls `pop`, the `vec`
|
||||
// is empty, so `pop` returns `None`, and `unwrap` panics if it's called
|
||||
// on `None`. Handle this in a more graceful way than calling `unwrap`!
|
||||
|
||||
Reference in New Issue
Block a user