mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
clippy: fix some warnings in components/script (#31865)
This commit is contained in:
parent
58f170c97a
commit
188f3caff1
10 changed files with 16 additions and 16 deletions
|
@ -502,7 +502,7 @@ fn define_name(cx: SafeJSContext, obj: HandleObject, name: &[u8]) {
|
|||
*cx,
|
||||
obj,
|
||||
b"name\0".as_ptr() as *const libc::c_char,
|
||||
name.handle().into(),
|
||||
name.handle(),
|
||||
JSPROP_READONLY as u32
|
||||
));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue