File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -939,7 +939,7 @@ mod tests {
939
939
not( target_arch = "wasm32" ) ,
940
940
not( target_arch = "asmjs" ) ) ) ]
941
941
fn test_float_assertions ( ) {
942
- use core :: panic:: catch_unwind;
942
+ use std :: panic:: catch_unwind;
943
943
use super :: SampleUniform ;
944
944
fn range < T : SampleUniform > ( low : T , high : T ) {
945
945
let mut rng = :: test:: rng ( 253 ) ;
Original file line number Diff line number Diff line change 233
233
#![ cfg_attr( feature = "wasm-bindgen" , feature( use_extern_macros) ) ]
234
234
#![ cfg_attr( feature = "wasm-bindgen" , feature( wasm_import_module) ) ]
235
235
236
- #[ cfg( feature= "std" ) ] extern crate std as core;
236
+ #[ cfg( feature = "std" ) ] extern crate core;
237
237
#[ cfg( all( feature = "alloc" , not( feature="std" ) ) ) ] extern crate alloc;
238
238
239
239
#[ cfg( all( target_arch="wasm32" , not( target_os="emscripten" ) , feature="stdweb" ) ) ]
You can’t perform that action at this time.
0 commit comments