Fix typo in alias-require-and-import.md (#14086)

This commit is contained in:
Sebastia Ramon
2024-12-20 09:56:09 +01:00
committed by GitHub
parent 6ff6fe45e6
commit 68a17aea7e
@@ -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