We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a1b7a9 commit 5797050Copy full SHA for 5797050
pldm/src/lib.rs
@@ -219,7 +219,7 @@ impl PldmRequest<'static> {
219
/// Create a PLDM request from message data.
220
///
221
/// May fail if the message data is not parsable as a PLDM message.
222
- pub fn from_buf<'f>(data: &'f [u8]) -> Result<Self> {
+ pub fn from_buf(data: &[u8]) -> Result<Self> {
223
PldmRequest::from_buf_borrowed(data).map(|p| p.make_owned())
224
}
225
0 commit comments