mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-28 20:16:58 +03:00
Merge pull request #20487 from trapp/doc-namespace-typo
Fix typo in documentation. Reviewed-by: alexcrichton
This commit is contained in:
+1
-1
@@ -1138,7 +1138,7 @@ fn main() {
|
||||
```
|
||||
|
||||
There's a symbol here we haven't seen before: the double colon (`::`).
|
||||
This is used to indicate a namesapce. In this case, `Ordering` lives in
|
||||
This is used to indicate a namespace. In this case, `Ordering` lives in
|
||||
the `cmp` submodule of the `std` module. We'll talk more about modules
|
||||
later in the guide. For now, all you need to know is that you can `use`
|
||||
things from the standard library if you need them.
|
||||
|
||||
Reference in New Issue
Block a user