Skip to content

Commit 33d4cbe

Browse files
committed
Fixed a typo in the documentation (reference/other-new-feature.export.md)
1 parent 001bfc3 commit 33d4cbe

File tree

1 file changed

+3
-3
lines changed
  • docs/_docs/reference/other-new-features

1 file changed

+3
-3
lines changed

docs/_docs/reference/other-new-features/export.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class Copier:
2424
private val scanUnit = new Scanner
2525

2626
export scanUnit.scan
27-
export printUnit.{status => _, *}
27+
export printUnit.{status as _, *}
2828

2929
def status: List[String] = printUnit.status ++ scanUnit.status
3030
```
@@ -55,8 +55,8 @@ one or more selectors `sel_i` that identify what gets an alias. Selectors can be
5555
of one of the following forms:
5656

5757
- A _simple selector_ `x` creates aliases for all eligible members of `path` that are named `x`.
58-
- A _renaming selector_ `x => y` creates aliases for all eligible members of `path` that are named `x`, but the alias is named `y` instead of `x`.
59-
- An _omitting selector_ `x => _` prevents `x` from being aliased by a subsequent
58+
- A _renaming selector_ `x as y` creates aliases for all eligible members of `path` that are named `x`, but the alias is named `y` instead of `x`.
59+
- An _omitting selector_ `x as _` prevents `x` from being aliased by a subsequent
6060
wildcard selector.
6161
- A _given selector_ `given x` has an optional type bound `x`. It creates aliases for all eligible given instances that conform to either `x`, or `Any` if `x` is omitted, except for members that are named by a previous simple, renaming, or omitting selector.
6262
- A _wildcard selector_ `*` creates aliases for all eligible members of `path` except for given instances,

0 commit comments

Comments
 (0)