Commit 5236eba
AsRef/Mut and From traits implementation on Key and Value (#26)
* Remove static lifetime restrictions on Key/Value From impl
Signed-off-by: Clément Renault <renault.cle@gmail.com>
* Add AsMut impl to Value and Key
Signed-off-by: Clément Renault <renault.cle@gmail.com>
* Allow constructing Key and Value from static str
Signed-off-by: Clément Renault <renault.cle@gmail.com>1 parent 4e9a42f commit 5236eba
1 file changed
+23
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
223 | | - | |
| 223 | + | |
224 | 224 | | |
225 | | - | |
226 | | - | |
227 | | - | |
| 225 | + | |
228 | 226 | | |
229 | 227 | | |
230 | 228 | | |
231 | 229 | | |
232 | | - | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
233 | 237 | | |
234 | 238 | | |
235 | 239 | | |
| |||
240 | 244 | | |
241 | 245 | | |
242 | 246 | | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
243 | 253 | | |
244 | 254 | | |
245 | 255 | | |
| |||
326 | 336 | | |
327 | 337 | | |
328 | 338 | | |
329 | | - | |
330 | | - | |
331 | | - | |
| 339 | + | |
332 | 340 | | |
333 | 341 | | |
334 | 342 | | |
| |||
340 | 348 | | |
341 | 349 | | |
342 | 350 | | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
343 | 357 | | |
344 | 358 | | |
345 | 359 | | |
346 | 360 | | |
347 | 361 | | |
348 | 362 | | |
| 363 | + | |
349 | 364 | | |
350 | 365 | | |
351 | 366 | | |
| |||
0 commit comments