File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ implementation would cause. Then we modify the `entry` signature to
139
139
140
140
and add a new `Q : IntoOwned <K >` type parameter to `Entry `. This can be done
141
141
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
143
143
get - like calls .
144
144
145
145
# Drawbacks
@@ -154,7 +154,7 @@ get-like calls.
154
154
2 . It does not offer a way of recovering a `! Clone ` key when no `insert `
155
155
happens . This is somewhat orthogonal though and could be solved in a number
156
156
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 .
158
158
159
159
3 . Further depend on specialisation in its current form for a public API . If the
160
160
exact parameters of specialisation change , and this particular pattern
You can’t perform that action at this time.
0 commit comments