File tree 1 file changed +5
-1
lines changed
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -149,7 +149,8 @@ get-like calls.
149
149
never needs to manually implement . If there was support for `where A != B `
150
150
clauses we could get rid of the `RefIntoOwned ` trait , but that would still
151
151
leave `IntoOwned ` (which is strictly more general than the existing `ToOwned `
152
- trait ).
152
+ trait ). On the other hand `IntoOwned ` may be independently useful in generic
153
+ contexts .
153
154
154
155
2 . It does not offer a way of recovering a `! Clone ` key when no `insert `
155
156
happens . This is somewhat orthogonal though and could be solved in a number
@@ -160,6 +161,9 @@ get-like calls.
160
161
exact parameters of specialisation change , and this particular pattern
161
162
doesn 't work anymore , we 'll have painted ourselves into a corner .
162
163
164
+ 4 . The implementation would be insta - stable . There 's no real way of
165
+ feature - gating this .
166
+
163
167
# Alternatives
164
168
[alternatives ]: #alternatives
165
169
You can’t perform that action at this time.
0 commit comments