Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions crates/cli/src/tasks/rust.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,9 @@ fn check_for_issues(artifact: &Path) -> anyhow::Result<()> {
the `getrandom` crate for random number generation. getrandom is the default\n\
randomness source for the `rand` crate, and is used when you call\n\
`rand::random()` or `rand::thread_rng()`. If this is you, you should instead\n\
use `spacetimedb::random()` or `spacetimedb::rng()`. If this is a crate in your\n\
use `ctx.rng()` on a `ReducerContext`. If this is a crate in your\n\
tree, you should try to see if the crate provides a way to pass in a custom\n\
`Rng` type, and pass it the rng returned from `spacetimedb::rng()`."
`Rng` type, and pass it the rng returned from `ctx.rng()`."
)
}
Ok(())
Expand Down
Loading