Ingvar Stepanyan
d7650863ab
Fix or suppress {primitive}::new warnings in tests
...
Constructing boxed primitives was deprecated in #1447 .
Some tests have been still using these methods, so this PR either updates them to use newly added {primitive}::from implementations or adds `#[allow(deprecated)]` where necessary.
2019-04-17 18:25:45 +01:00
Alex Crichton
7ecf4aae87
cargo +nightly fmt --all
...
Rustfmt all the things!
2018-09-26 08:26:00 -07:00
Matt Kraai
687412ec50
Test for AsRef implementations
...
Part of #670
2018-08-17 13:09:30 -07:00
Andrew Chin
c371c4a509
Fixup from merge commit
2018-08-09 14:36:37 -04:00
Nick Fitzgerald
f8af399301
Merge branch 'master' into extends_object
2018-08-09 10:57:15 -07:00
Andrew Chin
cc8095d065
Add extends attributes for several types
...
Part of #670
2018-08-08 23:16:57 -04:00
bokuweb
42e02f7769
js-sys: Add extends attributes for js_sys::Number
2018-08-09 10:10:20 +09:00
Nick Fitzgerald
61fc8d2567
Js sys once over ( #550 )
...
* js-sys: Return `f64` instead of `Number`
* js-sys: remove trailing whitespace
* js-sys: Ensure that all imported types derive Clone and Debug
* js-sys: Imported functions should always take JS object arguments by-ref
2018-07-25 16:33:44 -05:00
Tyler Wilcock
b7acb0785d
Add Number.isNaN() binding ( #532 )
2018-07-21 15:19:30 -05:00
Alex Crichton
fb6041cf3b
Port Number
tests to wasm
2018-07-20 14:35:44 -07:00