Skip to content

Commit

Permalink
fix: warning related to use of into()
Browse files Browse the repository at this point in the history
  • Loading branch information
etherhood committed Sep 9, 2024
1 parent 12ee081 commit feaf9d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion portalnet/src/overlay/protocol.rs
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ where
let content_items = content_keys
.into_iter()
.map(|key| match self.store.read().get(&key) {
Ok(Some(content)) => Ok((key.to_bytes().into(), content.clone())),
Ok(Some(content)) => Ok((key.to_bytes(), content.clone())),
_ => Err(OverlayRequestError::ContentNotFound {
message: format!("Content key not found in local store: {key:02X?}"),
utp: false,
Expand Down

0 comments on commit feaf9d5

Please sign in to comment.