mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
clean up lints and tidy errors
This commit is contained in:
parent
3e5d725be5
commit
65da7b668b
2 changed files with 4 additions and 10 deletions
|
@ -39,7 +39,6 @@ use js::jsapi::{DOMProxyShadowsResult, JSContext, JSObject, PropertyDescriptor};
|
|||
use js::jsapi::{GetWellKnownSymbol, SymbolCode};
|
||||
use js::jsapi::{JSErrNum, SetDOMProxyInformation};
|
||||
use js::jsid::SymbolId;
|
||||
use js::jsval::JSVal;
|
||||
use js::jsval::ObjectValue;
|
||||
use js::jsval::UndefinedValue;
|
||||
use js::rust::wrappers::JS_AlreadyHasOwnPropertyById;
|
||||
|
@ -194,7 +193,7 @@ pub unsafe fn ensure_expando_object(
|
|||
/// Set the property descriptor's object to `obj` and set it to enumerable,
|
||||
/// and writable if `readonly` is true.
|
||||
pub fn set_property_descriptor(
|
||||
mut desc: MutableHandle<PropertyDescriptor>,
|
||||
desc: MutableHandle<PropertyDescriptor>,
|
||||
value: HandleValue,
|
||||
attrs: u32,
|
||||
is_none: &mut bool,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue