mirror of
https://github.com/MercuryWorkshop/epoxy-tls.git
synced 2025-05-13 06:20:02 -04:00
vec not required
This commit is contained in:
parent
eb511a317d
commit
f92062c5f5
2 changed files with 2 additions and 1 deletions
|
@ -92,7 +92,7 @@ pub fn entries_of_object(obj: &Object) -> Vec<Vec<String>> {
|
|||
}
|
||||
|
||||
pub fn define_property_obj(value: JsValue, writable: bool) -> Result<Object, JsValue> {
|
||||
let entries: Array = vec![
|
||||
let entries: Array = [
|
||||
Array::of2(&jval!("value"), &jval!(value)),
|
||||
Array::of2(&jval!("writable"), &jval!(writable)),
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue