From d968296d4e8465dbfd20e2674e9dde0756700cf2 Mon Sep 17 00:00:00 2001 From: "Panagiotis \"Ivory\" Vasilopoulos" Date: Sun, 30 Oct 2022 20:28:57 +0100 Subject: [PATCH] Remove --edition from src/crates/using_lib.md 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. --- src/crates/using_lib.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crates/using_lib.md b/src/crates/using_lib.md index 102080700f..8bd0feb945 100644 --- a/src/crates/using_lib.md +++ b/src/crates/using_lib.md @@ -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()`