Skip to content

Commit 1fc9c34

Browse files
authored
Update README.md
1 parent 8eb27b6 commit 1fc9c34

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,13 @@ The output of Cargo will be hidden unless compilation fails.
7373
// to be "*". Also, the `cargo-deps` comment *must* be a single-line
7474
// comment, and it *must* be the first thing in the file, after the
7575
// hashbang.
76+
// Multiple dependencies should be separated by commas:
77+
// cargo-deps: time="0.1.25", libc="0.2.5"
7678
fn main() {
7779
println!("{}", time::now().rfc822z());
7880
}
7981
```
8082

81-
> **Note**: you can write multiple dependencies by separating them with commas. *E.g.* `time="0.1.25", libc="0.2.5"`.
82-
8383
On running either of these, `rust-script` will generate a Cargo package, build it, and run the result. The output may look something like:
8484

8585
```sh

0 commit comments

Comments
 (0)