Skip to content

Commit c916683

Browse files
committed
fixup! rust: alloc: kbox: Add AsRef implementation to Box
1 parent 2f44467 commit c916683

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rust/kernel/alloc/kbox.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,6 +464,6 @@ where
464464
A: Allocator,
465465
{
466466
fn as_ref(&self) -> &T {
467-
&*self
467+
&**self
468468
}
469469
}

0 commit comments

Comments
 (0)