Skip to content

Commit 641a885

Browse files
committed
mctp-estack: Fix nightly compiler warning
Signed-off-by: Matt Johnston <[email protected]>
1 parent 484303f commit 641a885

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mctp-estack/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ impl Stack {
408408
&mut self,
409409
source: Eid,
410410
tag: Tag,
411-
) -> Option<MctpMessage> {
411+
) -> Option<MctpMessage<'_>> {
412412
// Find the earliest matching entry
413413
self.done_reassemblers()
414414
.filter(|(re, _buf)| re.tag == tag && re.peer == source)
@@ -436,7 +436,7 @@ impl Stack {
436436
pub fn get_deferred_bycookie(
437437
&mut self,
438438
cookies: &[AppCookie],
439-
) -> Option<MctpMessage> {
439+
) -> Option<MctpMessage<'_>> {
440440
// Find the earliest matching entry
441441
self.done_reassemblers()
442442
.filter(|(re, _buf)| {

0 commit comments

Comments
 (0)