mirror of
https://github.com/fafhrd91/actix-web
synced 2025-06-27 07:19:04 +02:00
apply standard formatting
This commit is contained in:
@ -1,5 +1,7 @@
|
||||
//! Originally taken from `hyper::header::shared`.
|
||||
|
||||
pub use language_tags::LanguageTag;
|
||||
|
||||
mod charset;
|
||||
mod content_encoding;
|
||||
mod extended;
|
||||
@ -7,10 +9,11 @@ mod http_date;
|
||||
mod quality;
|
||||
mod quality_item;
|
||||
|
||||
pub use self::charset::Charset;
|
||||
pub use self::content_encoding::ContentEncoding;
|
||||
pub use self::extended::{parse_extended_value, ExtendedValue};
|
||||
pub use self::http_date::HttpDate;
|
||||
pub use self::quality::{q, Quality};
|
||||
pub use self::quality_item::QualityItem;
|
||||
pub use language_tags::LanguageTag;
|
||||
pub use self::{
|
||||
charset::Charset,
|
||||
content_encoding::ContentEncoding,
|
||||
extended::{parse_extended_value, ExtendedValue},
|
||||
http_date::HttpDate,
|
||||
quality::{q, Quality},
|
||||
quality_item::QualityItem,
|
||||
};
|
||||
|
@ -1,8 +1,7 @@
|
||||
use std::{cmp, fmt, str};
|
||||
|
||||
use crate::error::ParseError;
|
||||
|
||||
use super::Quality;
|
||||
use crate::error::ParseError;
|
||||
|
||||
/// Represents an item with a quality value as defined
|
||||
/// in [RFC 7231 §5.3.1](https://datatracker.ietf.org/doc/html/rfc7231#section-5.3.1).
|
||||
|
Reference in New Issue
Block a user