From 4e232a7f00cf10ff18bb557a4b7c109fa3683b34 Mon Sep 17 00:00:00 2001 From: Joseph Moniz Date: Thu, 5 Oct 2023 07:02:06 -0400 Subject: [PATCH] Clean up docs --- README.md | 10 +++++----- noggin/src/lib.rs | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 9b2cee2..9c49d9e 100644 --- a/README.md +++ b/README.md @@ -42,11 +42,11 @@ pub struct TestHeaders<'a> { pub pragma: Option>, } -let raw_headers = b"content-type: text/html\r\n\ -content-length: 12\r\n\ -accept: text/html, text/plain\r\n\ -pragma: no-cache, public\r\n\ -accept: application/json\r\n\r\n\ +let raw_headers = b"Content-Type: text/html\r\n\ +Content-Length: 12\r\n\ +Accept: text/html, text/plain\r\n\ +Pragma: no-cache, public\r\n\ +Accept: application/json\r\n\r\n\ hello world!"; let (parsed_headers, body) = TestHeaders::parse_headers(raw_headers).unwrap(); diff --git a/noggin/src/lib.rs b/noggin/src/lib.rs index 531b7bb..8cdb711 100644 --- a/noggin/src/lib.rs +++ b/noggin/src/lib.rs @@ -9,7 +9,7 @@ //! - **Declarative**: Define your HTTP headers using Rust structs with strongly typed //! header values. //! - **Zero-copy capture**: Opt-in zero-copy header value parsing. -//! **Extensible**: Easily add new strongly typed header values. +//! - **Extensible**: Easily add new strongly typed header values. //! //! # Examples //!