Skip to content

Commit

Permalink
Merge pull request #1215 from yous/mod-use
Browse files Browse the repository at this point in the history
Make `use` example runnable
  • Loading branch information
marioidival committed Jul 5, 2019
2 parents 0571229 + d33aa57 commit ff21dd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mod/use.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ fn main() {

You can use the `as` keyword to bind imports to a different name:

```rust,editable,ignore
```rust,editable
// Bind the `deeply::nested::function` path to `other_function`.
use deeply::nested::function as other_function;
Expand Down

0 comments on commit ff21dd4

Please sign in to comment.