Request: allow Deserialize<'de> for .query()#333
Conversation
|
I remember trying this in the early days of |
|
I don't follow. As far as I am aware There is an existing owned test case with deserializing into a hashmap of |
|
(See also: https://serde.rs/lifetimes.html) |
Allows us to avoid extra allocations from querystring parsing.
feeab31 to
f5d310a
Compare
|
From the aforelinked docs, particularly that last line (emphasis mine):
|
|
All signs point to this being fine. Merging. |
Allows us to avoid extra allocations from querystring parsing.
I don't think this is breaking? But maybe I don't understand the trait inheritance here correctly.
Will also necessitate similar changes in Tide & Surf.