Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
andrieshiemstra committed Dec 24, 2024
1 parent 81080dc commit 4312f25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/quickjsvalueadapter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,9 @@ impl QuickJsValueAdapter {
pub(crate) fn increment_ref_count(&self) {
if self.get_tag() < 0 {
unsafe {
#[allow(clippy::let_unit_value)]
let _ = libquickjs_sys::JS_DupValue(self.context, *self.borrow_value());
}
()
}
}

Expand Down

0 comments on commit 4312f25

Please sign in to comment.