Skip to content

Commit 4312f25

Browse files
wip
1 parent 81080dc commit 4312f25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/quickjsvalueadapter.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,9 @@ impl QuickJsValueAdapter {
120120
pub(crate) fn increment_ref_count(&self) {
121121
if self.get_tag() < 0 {
122122
unsafe {
123+
#[allow(clippy::let_unit_value)]
123124
let _ = libquickjs_sys::JS_DupValue(self.context, *self.borrow_value());
124125
}
125-
()
126126
}
127127
}
128128

0 commit comments

Comments
 (0)