Skip to content

Commit

Permalink
Review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
sffc committed Jun 23, 2021
1 parent f3b9dc6 commit 904bd08
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions provider/core/src/serde.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ where
M::Yokeable: serde::de::Deserialize<'static>,
// Actual bound:
// for<'de> <M::Yokeable as Yokeable<'de>>::Output: serde::de::Deserialize<'de>,
// Necessary workaround bound (see yoke docs):
// Necessary workaround bound (see `yoke::trait_hack` docs):
for<'de> YokeTraitHack<<M::Yokeable as Yokeable<'de>>::Output>: serde::de::Deserialize<'de>,
{
fn receive_rc_buffer(
Expand Down Expand Up @@ -163,7 +163,7 @@ where
M::Yokeable: serde::de::Deserialize<'static>,
// Actual bound:
// for<'de> <M::Yokeable as Yokeable<'de>>::Output: serde::de::Deserialize<'de>,
// Necessary workaround bound (see yoke docs):
// Necessary workaround bound (see `yoke::trait_hack` docs):
for<'de> YokeTraitHack<<M::Yokeable as Yokeable<'de>>::Output>: serde::de::Deserialize<'de>,
{
/// Serve objects implementing [`serde::Deserialize<'s>`] from a [`SerdeDeDataProvider`].
Expand Down
2 changes: 1 addition & 1 deletion provider/fs/src/deserializer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ where
M: DataMarker<'s>,
// Actual bound:
// for<'de> <M::Yokeable as Yokeable<'de>>::Output: serde::de::Deserialize<'de>,
// Necessary workaround bound (see yoke docs):
// Necessary workaround bound (see `yoke::trait_hack` docs):
for<'de> YokeTraitHack<<M::Yokeable as Yokeable<'de>>::Output>: serde::de::Deserialize<'de>,
{
match syntax_option {
Expand Down
2 changes: 1 addition & 1 deletion provider/fs/src/fs_data_provider.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ where
M: DataMarker<'s>,
// Actual bound:
// for<'de> <M::Yokeable as Yokeable<'de>>::Output: serde::de::Deserialize<'de>,
// Necessary workaround bound (see yoke docs):
// Necessary workaround bound (see `yoke::trait_hack` docs):
for<'de> YokeTraitHack<<M::Yokeable as Yokeable<'de>>::Output>: serde::de::Deserialize<'de>,
{
fn load_payload(&self, req: &DataRequest) -> Result<DataResponse<'d, 's, M>, DataError> {
Expand Down

0 comments on commit 904bd08

Please sign in to comment.