File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -7643,16 +7643,16 @@ impl Machine {
76437643 let arg = self . machine_st . registers [ 1 ] ;
76447644 let mut bytes: [ u8 ; 1 ] = [ 0 ] ;
76457645
7646- match rng ( ) . fill ( & mut bytes) {
7647- Ok ( ( ) ) => { }
7648- Err ( _) => {
7646+ // match rng().fill(&mut bytes) {
7647+ // Ok(()) => {}
7648+ // Err(_) => {
76497649 // the error payload here is of type 'Unspecified',
76507650 // which contains no information whatsoever. So, for now,
76517651 // just fail.
76527652 self . machine_st . fail = true ;
76537653 return ;
7654- }
7655- }
7654+ // }
7655+ // }
76567656
76577657 let byte = Fixnum :: build_with ( bytes[ 0 ] ) ;
76587658 self . machine_st . unify_fixnum ( byte, arg) ;
@@ -9243,7 +9243,7 @@ fn rng() -> &'static dyn SecureRandom {
92439243 static ref RANDOM : SystemRandom = SystemRandom :: new( ) ;
92449244 }
92459245
9246- // RANDOM.deref() // TODO
9246+ RANDOM . deref ( )
92479247}
92489248
92499249struct MyKey < T : core:: fmt:: Debug + PartialEq > ( T ) ;
You can’t perform that action at this time.
0 commit comments