Skip to content

docs: fix typos in ServeDir, ServeFile, and conditional headers#700

Merged
jlizen merged 1 commit into
tower-rs:mainfrom
Isvane:fix/typos
May 29, 2026
Merged

docs: fix typos in ServeDir, ServeFile, and conditional headers#700
jlizen merged 1 commit into
tower-rs:mainfrom
Isvane:fix/typos

Conversation

@Isvane
Copy link
Copy Markdown
Contributor

@Isvane Isvane commented May 29, 2026

Motivation

This PR fixes minor typographical, grammatical, and formatting errors found across the file-serving modules and documentation comments.

Solution

  • ServeFile: Fixed a typo in a test name (precompresed -> precompressed).
  • Header Utils (LastModified / IfModifiedSince):
    • Fixed typo silentely -> silently.
    • Corrected typo where IfUnmodifiedSince documentation incorrectly referred to IfModifiedSince.
    • Capitalized standard doc comments for consistency.
  • ServeDir:
    • Fixed grammar in try_call doc example (your adding -> you are adding).
    • Updated specialise to specialize to match standard US English naming conventions used elsewhere in the crate (Customize).

Copy link
Copy Markdown
Member

@jlizen jlizen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@jlizen jlizen merged commit 117081c into tower-rs:main May 29, 2026
16 checks passed
@Isvane Isvane deleted the fix/typos branch May 29, 2026 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants