Skip to content

Commit e9cab0f

Browse files
authored
Merge pull request #11707 from ethereum/docs-clarify-optional-remapping-components
[Docs] Clarify optional parts in remappings
2 parents 5ff0811 + c6fc993 commit e9cab0f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/path-resolution.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,8 @@ Here are the detailed rules governing the behaviour of remappings:
464464

465465
#. **Prefix cannot be empty but context and target are optional.**
466466

467-
If ``target`` is omitted, it defaults to the value of the ``prefix``.
467+
- If ``target`` is the empty string, ``prefix`` is simply removed from import paths.
468+
- Empty ``context`` means that the remapping applies to all imports in all source units.
468469

469470
.. index:: Remix IDE, file://
470471

0 commit comments

Comments
 (0)