Skip to content

Commit f2a98ba

Browse files
committed
explicit use declaration
1 parent 2d288a3 commit f2a98ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/crates/using_lib.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ of its items will then be imported under a module named the same as the library.
55
This module generally behaves the same way as any other module.
66

77
```rust,ignore
8-
use rary::public_function;
8+
use rary;
99
1010
fn main() {
11-
public_function();
11+
rary::public_function();
1212
1313
// Error! `private_function` is private
1414
//rary::private_function();

0 commit comments

Comments
 (0)