Skip to content

Commit b94a010

Browse files
committed
drivers: android: fix needless borrow Clippy warning
Signed-off-by: Miguel Ojeda <[email protected]>
1 parent e9190d8 commit b94a010

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/android/node.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ impl Node {
320320
) {
321321
out.ptr = self.ptr as _;
322322
out.cookie = self.cookie as _;
323-
let inner = self.inner.access(&guard);
323+
let inner = self.inner.access(guard);
324324
if inner.strong.has_count {
325325
out.has_strong_ref = 1;
326326
}

0 commit comments

Comments
 (0)