Skip to content

Commit 33f259d

Browse files
committed
fix a couple types
1 parent bf03d12 commit 33f259d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

text/0000-entry-into-owned.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ implementation would cause. Then we modify the `entry` signature to
139139

140140
and add a new `Q: IntoOwned<K>` type parameter to `Entry`. This can be done
141141
backwards-compatibly with a `Q=K` default. The new `Entry` type will store
142-
`key: Q` and call `into_owned` on insert-like calls, while using Q directly on
142+
`key: Q` and call `into_owned` on insert-like calls, while using `Q` directly on
143143
get-like calls.
144144

145145
# Drawbacks
@@ -154,7 +154,7 @@ get-like calls.
154154
2. It does not offer a way of recovering a `!Clone` key when no `insert`
155155
happens. This is somewhat orthogonal though and could be solved in a number
156156
of different ways eg. an `into_key` method on `Entry` or via an `IntoOwned`
157-
impl on a `&mut Option<T>`-like.
157+
impl on a `&mut Option<T>`-like type.
158158

159159
3. Further depend on specialisation in its current form for a public API. If the
160160
exact parameters of specialisation change, and this particular pattern

0 commit comments

Comments
 (0)