Update Examples
parent
b01ccc1a85
commit
7b4b9d94f4
1 changed files with 6 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue