summaryrefslogtreecommitdiff
path: root/move_semantics/move_semantics1.rs
diff options
context:
space:
mode:
Diffstat (limited to 'move_semantics/move_semantics1.rs')
-rw-r--r--move_semantics/move_semantics1.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/move_semantics/move_semantics1.rs b/move_semantics/move_semantics1.rs
index 73dc0ab..37038ec 100644
--- a/move_semantics/move_semantics1.rs
+++ b/move_semantics/move_semantics1.rs
@@ -1,7 +1,7 @@
// move_semantics1.rs
// Make me compile! Scroll down for hints :)
-pub fn main() {
+fn main() {
let vec0 = Vec::new();
let vec1 = fill_vec(vec0);