Skip to content

Commit 5ead2c1

Browse files
committed
chore: Make Clippy happy.
1 parent 4ac4bb8 commit 5ead2c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/class.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ mod tests {
215215
_this_object: Option<&JSObject>,
216216
_arguments: &[JSValue],
217217
) -> Result<JSValue, JSException> {
218-
Ok(JSValue::new_number(&ctx, 42.))
218+
Ok(JSValue::new_number(ctx, 42.))
219219
}
220220

221221
constructor.set_property("bar", JSValue::new_function(ctx, "bar", Some(bar)))?;

0 commit comments

Comments
 (0)