Skip to content

Commit

Permalink
remove sentence
Browse files Browse the repository at this point in the history
  • Loading branch information
GeeF authored Mar 13, 2020
1 parent 01ca752 commit 702bc78
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/items/use-declarations.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,8 @@ default. Also like items, a `use` declaration can be public, if qualified by
the `pub` keyword. Such a `use` declaration serves to _re-export_ a name. A
public `use` declaration can therefore _redirect_ some public name to a
different target definition: even a definition with a private canonical path,
inside a different module. This allows to present an external interface to a
user of the crate that is different from the internal organization of the code.
If a sequence of such redirections form a cycle or cannot be resolved unambiguously,
they represent a compile-time error.
inside a different module. If a sequence of such redirections form a cycle or
cannot be resolved unambiguously, they represent a compile-time error.

An example of re-exporting:

Expand Down

0 comments on commit 702bc78

Please sign in to comment.