Skip to content

Commit

Permalink
Fix minor typos in guide and docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
timmc committed Oct 22, 2024
1 parent 3bf9ef0 commit fd75d0c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion core/lib/src/sentinel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
2 changes: 1 addition & 1 deletion docs/guide/05-requests.md
Original file line number Diff line number Diff line change
Expand Up @@ -876,7 +876,7 @@ use rocket::data::{Data, ToByteUnit};

#[post("/debug", data = "<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?;
Expand Down
2 changes: 1 addition & 1 deletion docs/guide/10-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit fd75d0c

Please sign in to comment.