fix typos

This commit is contained in:
John Vandenberg 2024-03-25 19:01:58 +08:00 committed by Ethiraric
parent 782d590e5c
commit 95ac76e163
2 changed files with 2 additions and 2 deletions

View file

@ -42,7 +42,7 @@ struct Generator {
/// The RNG state.
///
/// We don't need to be cryptographically secure. [`SmallRng`] also implements the
/// [`SeedableRng`] trait, allowing runs to be predictible.
/// [`SeedableRng`] trait, allowing runs to be predictable.
rng: SmallRng,
/// The stack of indentations.
indents: Vec<usize>,

View file

@ -26,7 +26,7 @@ struct Tree {
/// The RNG state.
///
/// We don't need to be cryptographically secure. [`SmallRng`] also implements the
/// [`SeedableRng`] trait, allowing runs to be predictible.
/// [`SeedableRng`] trait, allowing runs to be predictable.
rng: SmallRng,
}