Skip to content

Commit b8746c9

Browse files
committed
deps: rng function rename
1 parent b98ddfa commit b8746c9

File tree

1 file changed

+1
-1
lines changed
  • tools/benchmark-struct/src

1 file changed

+1
-1
lines changed

tools/benchmark-struct/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ impl Component for App {
8989
rows: Vec::new(),
9090
next_id: 1,
9191
selected_id: None,
92-
rng: SmallRng::from_entropy(),
92+
rng: SmallRng::from_os_rng(),
9393
on_select: ctx.link().callback(Msg::Select),
9494
on_remove: ctx.link().callback(Msg::Remove),
9595
}

0 commit comments

Comments
 (0)