Fix typos in docs.

This commit is contained in:
Alexander van Ratingen 2022-05-25 18:20:09 +02:00 committed by Sergio Benitez
parent 5723f127c1
commit 2191369b37
2 changed files with 3 additions and 3 deletions

View File

@ -15,8 +15,8 @@ use crate::uri::{Absolute, Authority};
///
/// ```text
/// some.domain.foo:8088
/// |-----------| |--|
/// domain port
/// |-------------| |--|
/// domain port
/// ```
///
/// Only the domain part is required. Its value is case-insensitive.

View File

@ -33,7 +33,7 @@ use either::Either;
/// 1. A `TempFile` is created at random path `foo`.
/// 2. The system cleaner removes the 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.
///
/// To safe-guard against this issue, you should ensure that your temporary file