diff --git a/core/http/src/uri/host.rs b/core/http/src/uri/host.rs index 664d2810..fd1cac64 100644 --- a/core/http/src/uri/host.rs +++ b/core/http/src/uri/host.rs @@ -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. diff --git a/core/lib/src/fs/temp_file.rs b/core/lib/src/fs/temp_file.rs index 7cfbab18..34bb3f34 100644 --- a/core/lib/src/fs/temp_file.rs +++ b/core/lib/src/fs/temp_file.rs @@ -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