Fix typo in alias-require-and-import.md (#14086)
This commit is contained in:
@@ -112,7 +112,7 @@ end
|
||||
|
||||
In the example above, the imported `List.duplicate/2` is only visible within that specific function. `duplicate/2` won't be available in any other function in that module (or any other module for that matter).
|
||||
|
||||
While `import`s can be a useful for frameworks and libraries to build abstractions, developers should generally prefer `alias` to `import` on their own codebases, as aliases make the origin of the function being invoked clearer.
|
||||
While `import`s can be useful for frameworks and libraries to build abstractions, developers should generally prefer `alias` to `import` on their own codebases, as aliases make the origin of the function being invoked clearer.
|
||||
|
||||
## use
|
||||
|
||||
|
||||
Reference in New Issue
Block a user