]> git.proxmox.com Git - rustc.git/blobdiff - src/doc/rust-by-example/src/crates/using_lib.md
New upstream version 1.67.1+dfsg1
[rustc.git] / src / doc / rust-by-example / src / crates / using_lib.md
index 102080700f71ac7446173371c4d9b5162c3164b8..8bd0feb9454c6a841e4b9bf30177282b206ed053 100644 (file)
@@ -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()`