Skip to content

Commit

Permalink
chore: doc fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Frank-III committed Dec 6, 2024
1 parent 9e56713 commit 310e3db
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions core/src/types/metadata.rs
Original file line number Diff line number Diff line change
Expand Up @@ -205,15 +205,11 @@ impl Metadata {
}

/// Content Encoding of this entry.
///
/// Content Encoding is defined by [RFC 9110](https://httpwg.org/specs/rfc9110.html#field.content-encoding).
pub fn content_encoding(&self) -> Option<&str> {
self.content_encoding.as_deref()
}

/// Set Content Encoding of this entry.
///
/// Content Encoding is defined by [RFC 9110](https://httpwg.org/specs/rfc9110.html#field.content-encoding).
pub fn set_content_encoding(&mut self, v: &str) -> &mut Self {
self.content_encoding = Some(v.to_string());
self
Expand Down

0 comments on commit 310e3db

Please sign in to comment.