From e3971290ec5241ae9530c169fce515475a0aa220 Mon Sep 17 00:00:00 2001 From: S John CD Date: Fri, 29 Dec 2023 18:56:12 +0000 Subject: [PATCH] Make examples runnable --- src/lang/modules.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lang/modules.md b/src/lang/modules.md index ffe5f282..76fce2f0 100644 --- a/src/lang/modules.md +++ b/src/lang/modules.md @@ -29,13 +29,13 @@ Create a shortcut to a path with the `use` keyword once, and then use the shorte [Use]( https://doc.rust-lang.org/rust-by-example/mod/use.html ) -```rust,editable,ignore +```rust,editable {{#include ../../deps/examples/modules.rs}} ``` Idiomatic - bringing the function’s parent module into scope, not the function itself: -```rust,editable,ignore +```rust,editable {{#include ../../deps/examples/modules2.rs}} ```