mirror of
https://github.com/rwf2/Rocket.git
synced 2025-02-21 16:12:18 +00:00
Fix typos in docs.
This commit is contained in:
parent
5723f127c1
commit
2191369b37
@ -15,8 +15,8 @@ use crate::uri::{Absolute, Authority};
|
|||||||
///
|
///
|
||||||
/// ```text
|
/// ```text
|
||||||
/// some.domain.foo:8088
|
/// some.domain.foo:8088
|
||||||
/// |-----------| |--|
|
/// |-------------| |--|
|
||||||
/// domain port
|
/// domain port
|
||||||
/// ```
|
/// ```
|
||||||
///
|
///
|
||||||
/// Only the domain part is required. Its value is case-insensitive.
|
/// Only the domain part is required. Its value is case-insensitive.
|
||||||
|
@ -33,7 +33,7 @@ use either::Either;
|
|||||||
/// 1. A `TempFile` is created at random path `foo`.
|
/// 1. A `TempFile` is created at random path `foo`.
|
||||||
/// 2. The system cleaner removes the file at path `foo`.
|
/// 2. The system cleaner removes the file at path `foo`.
|
||||||
/// 3. Another application creates a file at path `foo`.
|
/// 3. Another application creates a file at path `foo`.
|
||||||
/// 4. The `TempFile`, ostesnsibly at path, `foo`, is persisted unexpectedly
|
/// 4. The `TempFile`, ostensibly at path `foo`, is persisted unexpectedly
|
||||||
/// with contents different from those in step 1.
|
/// with contents different from those in step 1.
|
||||||
///
|
///
|
||||||
/// To safe-guard against this issue, you should ensure that your temporary file
|
/// To safe-guard against this issue, you should ensure that your temporary file
|
||||||
|
Loading…
Reference in New Issue
Block a user