Skip to content

Commit 92b9ebb

Browse files
committed
Implicit casting with as _
1 parent 573f596 commit 92b9ebb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/handle.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ impl Handle {
8484

8585
/// Return the reference count of the object
8686
pub fn refcount(&self) -> u32 {
87-
refcount(self.id).unwrap_or(0) as u32
87+
refcount(self.id).unwrap_or(0) as _
8888
}
8989
}
9090

0 commit comments

Comments
 (0)