projects
/
rust-101.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
test that subtraction appropriately panics
[rust-101.git]
/
workspace
/
src
/
part01.rs
diff --git
a/workspace/src/part01.rs
b/workspace/src/part01.rs
index bcc1b03bbd6ae9efea5d963241dc973e73cf2d0f..1b2460c9783c94d9a248710ec2a3aa4a5b0ca93e 100644
(file)
--- a/
workspace/src/part01.rs
+++ b/
workspace/src/part01.rs
@@
-1,5
+1,3
@@
-// ***Remember to enable/add this part in `main.rs`!***
-
// Rust-101, Part 01: Expressions, Inherent methods
// ================================================
// Rust-101, Part 01: Expressions, Inherent methods
// ================================================
@@
-68,4
+66,3
@@
pub fn main() {
// **Exercise 01.2**: Write a function `vec_print` that takes a vector and prints all its elements.
// **Exercise 01.2**: Write a function `vec_print` that takes a vector and prints all its elements.
-// [index](main.html) | [previous](part00.html) | [next](part02.html)