We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45d1e66 commit da6b750Copy full SHA for da6b750
src/mod/use.md
@@ -6,7 +6,7 @@ access. It is often used like this:
6
```rust,editable,ignore
7
// extern crate deeply; // normally, this would exist and not be commented out!
8
9
-use deeply::nested::{
+use crate::deeply::nested::{
10
my_first_function,
11
my_second_function,
12
AndATraitType
@@ -43,7 +43,7 @@ fn main() {
43
{
44
// This is equivalent to `use deeply::nested::function as function`.
45
// This `function()` will shadow the outer one.
46
- use deeply::nested::function;
+ use crate::deeply::nested::function;
47
function();
48
49
// `use` bindings have a local scope. In this case, the
0 commit comments