Skip to content

Commit f9e20cf

Browse files
committed
Some doc fixes
1 parent 80a5b71 commit f9e20cf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/docs/reference/contextual/given-imports.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ object B {
1616
}
1717
```
1818
In the code above, the `import A._` clause of object `B` will import all members
19-
of `A` _except_ the given instance `tc`. Conversely, the second import `import A.given` will import _only_ that given instance.
19+
of `A` _except_ the given instance `tc`. Conversely, the second import `import A.{given _}` will import _only_ that given instance.
2020
The two import clauses can also be merged into one:
2121
```scala
2222
object B

docs/docs/reference/contextual/motivation-new.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ The following pages introduce a redesign of contextual abstractions in Scala. Th
5151

5252
2. [With Clauses](./context-parameters.md) define are a new syntax for implicit _parameters_ and their _arguments_. It unambiguously aligns parameters and arguments, solving a number of language warts. It also allows us to have several with clauses in a definition.
5353

54-
3. [Given Imports](./given-imports.md) are a new class of import selectors that specifically import
54+
3. ["Given" Imports](./given-imports.md) are a new class of import selectors that specifically import
5555
givens and nothing else.
5656

5757
4. [Implicit Conversions](./conversions.md) are now expressed as given instances of a standard `Conversion` class. All other forms of implicit conversions will be phased out.

0 commit comments

Comments
 (0)