Skip to content

Commit

Permalink
Remove --edition from src/crates/using_lib.md
Browse files Browse the repository at this point in the history
It's already past 2021, we might as well presume that a newcomer won't
be using an older version to learn instead of updating this parameter
once every 3 years.
  • Loading branch information
n0toose committed Oct 30, 2022
1 parent a5f384b commit d968296
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 d968296

Please sign in to comment.