Skip to content

Commit

Permalink
fix a couple typos
Browse files Browse the repository at this point in the history
  • Loading branch information
cristicbz committed Oct 12, 2016
1 parent bf03d12 commit 6952692
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions text/0000-entry-into-owned.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ implementation would cause. Then we modify the `entry` signature to

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

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

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

0 comments on commit 6952692

Please sign in to comment.