Remove out of place instructions on passing args and flags
authorCarol (Nichols || Goulding) <carol.nichols@gmail.com>
Fri, 13 May 2016 16:27:10 +0000 (12:27 -0400)
committerCarol (Nichols || Goulding) <carol.nichols@gmail.com>
Fri, 13 May 2016 16:59:41 +0000 (12:59 -0400)
This doesn't feel like it fits very well at this point, since our
example program doesn't take args and beginners to cargo probably don't
have a reason to want to pass flags on to rustc at this point. Also it
doesn't even say rustc, just "which flags go where"... where would they
go?!?!

src/doc/guide.md

index 4aba5ad6bc39c01e060f25a148ad26679538b196..912566d14fb204853093d207a386ceadbacd3203 100644 (file)
@@ -94,9 +94,6 @@ class="s1">   Compiling</span> hello_world v0.1.0 (file:///path/to/project/hello
 class="s1">   Running</span> `target/debug/hello_world`
 Hello, world!</code></pre>
 
-To pass some arguments to your program, use `cargo run first_arg second_arg`.
-If flags are being passed, use a “--” separator to tell Cargo which flags go where, like `cargo run -- --foo -b bar`.
-
 You’ll now notice a new file, `Cargo.lock`. It contains information about our
 dependencies. Since we don’t have any yet, it’s not very interesting.