diff options
Diffstat (limited to 'crates/tor-basic-utils/src')
| -rw-r--r-- | crates/tor-basic-utils/src/byte_qty.rs | 2 | ||||
| -rw-r--r-- | crates/tor-basic-utils/src/test_rng.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/crates/tor-basic-utils/src/byte_qty.rs b/crates/tor-basic-utils/src/byte_qty.rs index 1493208a1..805862e85 100644 --- a/crates/tor-basic-utils/src/byte_qty.rs +++ b/crates/tor-basic-utils/src/byte_qty.rs @@ -141,7 +141,7 @@ impl Display for ByteQty { .expect("DISPLAY_UNITS Is empty?!"); // Select a precision so that we'll print about 3 significant figures. - // We can't do this precisely, so we err on the side of slighlty + // We can't do this precisely, so we err on the side of slightly // fewer SF with mantissae starting with 9. let after_decimal = if mantissa < 9. { diff --git a/crates/tor-basic-utils/src/test_rng.rs b/crates/tor-basic-utils/src/test_rng.rs index 970713d2c..10d2b1e2e 100644 --- a/crates/tor-basic-utils/src/test_rng.rs +++ b/crates/tor-basic-utils/src/test_rng.rs @@ -19,7 +19,7 @@ //! * `deterministic` for an arbitrary seed that is the same on every run of //! the program. (You can use this in cases where even a tiny chance of //! stochastic behavior in your tests is unacceptable.) -//! * A hexadecimal string, to specify a given seed to re-use from a previous +//! * A hexadecimal string, to specify a given seed to reuse from a previous //! test run. //! //! # WARNING |
