diff --git a/doc/src/manual/modules.md b/doc/src/manual/modules.md index 72b9d586945f9..65ea9ff0233dc 100644 --- a/doc/src/manual/modules.md +++ b/doc/src/manual/modules.md @@ -154,8 +154,8 @@ In contrast, julia> import .NiceStuff ``` -brings *only* the module name into scope. Users would need to use `NiceStuff.DOG`, `NiceStuff.Dog`, and `NiceStuff.nice` to access its contents. Usually, `import ModuleName` is used in contexts when the user wants to keep the namespace clean. -As we will see in the next section `import .NiceStuff` is equivalent to `using .NiceStuff: NiceStuff`. +brings *only* the module name into scope. Users would need to use `NiceStuff.DOG`, `NiceStuff.Dog`, and `NiceStuff.nice` to access its contents. +As we will see in the next section `import .NiceStuff` is equivalent to `using .NiceStuff: NiceStuff`. Usually, `import ModuleName` or `using ModuleName: ModuleName` is used in contexts when the user wants to keep the namespace clean. You can combine multiple `using` and `import` statements of the same kind in a comma-separated expression, e.g.