Skip to content

Commit

Permalink
Merge pull request #1635 from n0toose/remove-edition
Browse files Browse the repository at this point in the history
Remove --edition from src/crates/using_lib.md
  • Loading branch information
marioidival authored Oct 31, 2022
2 parents 3eb14d0 + d968296 commit 2b15c0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/crates/using_lib.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ fn main() {
```txt
# Where library.rlib is the path to the compiled library, assumed that it's
# in the same directory here:
$ rustc executable.rs --extern rary=library.rlib --edition=2018 && ./executable
$ rustc executable.rs --extern rary=library.rlib && ./executable
called rary's `public_function()`
called rary's `indirect_access()`, that
> called rary's `private_function()`
Expand Down

0 comments on commit 2b15c0a

Please sign in to comment.