Skip to content

Commit b25c8f1

Browse files
generatedunixname2188312725328782meta-codesync[bot]
authored andcommitted
Fix deprecated lint in fbcode/hermetic_infra/reverie
Reviewed By: diliop Differential Revision: D107501380 fbshipit-source-id: b271325c3dcfd60acd499c29721d6bccb29ca08d
1 parent ee82572 commit b25c8f1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

safeptrace/src/memory.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ mod test {
311311
// zeros when size % u8::MAX == 0.
312312
//
313313
// [1] https://github.com/BurntSushi/quickcheck/issues/119
314-
let mut qc = QuickCheck::new().r#gen(quickcheck::Gen::new(0x4000 + u8::MAX as usize));
314+
let mut qc = QuickCheck::new().rng(quickcheck::Gen::new(0x4000 + u8::MAX as usize));
315315

316316
qc.quickcheck(prop_remote_read_exact as fn(Vec<u8>) -> bool);
317317

0 commit comments

Comments
 (0)