Update Examples
parent
b01ccc1a85
commit
7b4b9d94f4
@ -472,7 +472,7 @@ fn main() {
|
||||
</td><td>
|
||||
|
||||
```
|
||||
// use crate::List::*; //! Unneeded bc of match auto-import
|
||||
// use crate::List::*; //! Unneeded: match auto-imports
|
||||
|
||||
enum List
|
||||
Cons(u32, Box<List>)
|
||||
@ -498,6 +498,11 @@ impl List
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
fn main
|
||||
let mut list = List::new()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user