From fd75d0ccca37ea344b3625560d0d072c3f86a6c1 Mon Sep 17 00:00:00 2001 From: Tim McCormack Date: Mon, 21 Oct 2024 20:51:58 -0400 Subject: [PATCH] Fix minor typos in guide and docstring --- core/lib/src/sentinel.rs | 2 +- docs/guide/05-requests.md | 2 +- docs/guide/10-configuration.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/lib/src/sentinel.rs b/core/lib/src/sentinel.rs index 2ac1ec9a..c825b299 100644 --- a/core/lib/src/sentinel.rs +++ b/core/lib/src/sentinel.rs @@ -159,7 +159,7 @@ use crate::{Rocket, Ignite}; /// /// **Note:** _Rocket actively discourages using `impl Trait` in route /// signatures. In addition to impeding sentinel discovery, doing so decreases -/// the ability to gleam a handler's functionality based on its type signature._ +/// the ability to glean a handler's functionality based on its type signature._ /// /// The return type of the route `f` depends on its implementation. At present, /// it is not possible to name the underlying concrete type of an `impl Trait` diff --git a/docs/guide/05-requests.md b/docs/guide/05-requests.md index d3ad9792..5e8e0bcf 100644 --- a/docs/guide/05-requests.md +++ b/docs/guide/05-requests.md @@ -876,7 +876,7 @@ use rocket::data::{Data, ToByteUnit}; #[post("/debug", data = "")] async fn debug(data: Data<'_>) -> std::io::Result<()> { - // Stream at most 512KiB all of the body data to stdout. + // Stream at most 512KiB of the body data to stdout. data.open(512.kibibytes()) .stream_to(tokio::io::stdout()) .await?; diff --git a/docs/guide/10-configuration.md b/docs/guide/10-configuration.md index 02218bb5..ffe018ea 100644 --- a/docs/guide/10-configuration.md +++ b/docs/guide/10-configuration.md @@ -6,7 +6,7 @@ summary = "overview and customization of Rocket application configuration" Rocket's configuration system is flexible. Based on [Figment](@figment), it allows you to configure your application the way _you_ want while also providing -with a sensible set of defaults. +a sensible set of defaults. ## Overview