|
15 | 15 |
|
16 | 16 | # A Very Brief Intro to Rust
|
17 | 17 |
|
| 18 | +Erick Tryzelaar |
| 19 | + |
| 20 | + |
| 21 | + |
18 | 22 | ???
|
19 | 23 |
|
20 | 24 | * This is Ferris, our unofficial mascot!
|
|
40 | 44 | * This curriculum is an experiment. It's mildly disorganized and semi-tested.
|
41 | 45 | * Please take notes about what you liked, didn't like, wished we spent more or less time on, etc -- there will be a survey!
|
42 | 46 |
|
| 47 | +--- |
| 48 | +class: middle, center |
| 49 | + |
| 50 | + |
| 51 | + |
| 52 | +??? |
| 53 | + |
| 54 | +* I am on the core team, where we lead the overall direction of the project. |
| 55 | + |
| 56 | +--- |
| 57 | +class: middle, center |
| 58 | + |
| 59 | + |
| 60 | + |
| 61 | +??? |
| 62 | + |
| 63 | +* I also lead the community team, where we try to organize events like this, |
| 64 | + and other broad initiatives. |
| 65 | +* Community survey |
| 66 | + |
| 67 | +--- |
| 68 | +class: middle, center |
| 69 | + |
| 70 | + |
| 71 | + |
| 72 | +??? |
| 73 | + |
| 74 | +* I've been in the Rust community for a long time. This is my first commit way |
| 75 | + back in May 2011. So cute! |
| 76 | + |
43 | 77 | ---
|
44 | 78 | class: middle, left
|
45 | 79 |
|
|
245 | 279 | [package]
|
246 | 280 | name = "rustbridge"
|
247 | 281 | version = "0.1.0"
|
248 |
| -authors = ["Carol (Nichols || Goulding) <carol.nichols@gmail.com>"] |
| 282 | +authors = ["Erick Tryzelaar <erick.tryzelaar@gmail.com>"] |
249 | 283 |
|
250 | 284 | [dependencies]
|
251 | 285 | ```
|
|
322 | 356 | ## Variables
|
323 | 357 |
|
324 | 358 | ```rust
|
325 |
| -let name = "ashley"; |
326 |
| -let age = 30; |
| 359 | +let name = "Erick"; |
| 360 | +let age = 37; |
327 | 361 | println!("Hi, {}! You are {} years old.", name, age);
|
328 | 362 | ```
|
329 | 363 |
|
|
705 | 739 | ## Using Option
|
706 | 740 |
|
707 | 741 | ```rust
|
708 |
| -let mut instructors = vec!["Carol"]; |
| 742 | +let mut instructors = vec!["Erick"]; |
709 | 743 |
|
710 | 744 | let a = instructors.pop();
|
711 | 745 | println!("a is {:?}", a);
|
|
724 | 758 | ## Using Option
|
725 | 759 |
|
726 | 760 | ```rust
|
727 |
| -let a = Some("Carol"); |
| 761 | +let a = Some("Erick"); |
728 | 762 |
|
729 | 763 | let name = a.expect("A value is present");
|
730 | 764 | println!("Name is {} bytes long", name.len());
|
|
0 commit comments