Skip to content

Commit bda2931

Browse files
authored
Update README.md
1 parent 1688085 commit bda2931

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

docs/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@ The primary use for `rust-script` is for running Rust source files as scripts. F
4343
$ echo 'println!("Hello, World!");' > hello.rs
4444
$ rust-script hello.rs
4545
Hello, World!
46-
$ rust-script hello # you can leave off the file extension
47-
Hello, World!
4846
```
4947

5048
Under the hood, a Cargo project will be generated and built (with the Cargo output hidden unless compilation fails or the `-o`/`--cargo-output` option is used). The first invocation of the script will be slower as the script is compiled - subsequent invocations of unmodified scripts will be fast as the built executable is cached.

0 commit comments

Comments
 (0)