From 2191369b37cf0d1caccb2712e7bb2046e9e691ad Mon Sep 17 00:00:00 2001 From: Alexander van Ratingen <470642+alvra@users.noreply.github.com> Date: Wed, 25 May 2022 18:20:09 +0200 Subject: [PATCH] Fix typos in docs. --- core/http/src/uri/host.rs | 4 ++-- core/lib/src/fs/temp_file.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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