mirror of https://github.com/fafhrd91/actix-web
Fix broken link.
This commit is contained in:
parent
cdd098e3be
commit
be863887e0
|
@ -301,7 +301,7 @@ impl NamedFile {
|
||||||
|
|
||||||
/// Set content encoding for serving this file
|
/// Set content encoding for serving this file
|
||||||
///
|
///
|
||||||
/// Must be used with [`actix_web::middleware::Compress`] to take effect.
|
/// Must be used with `actix_web::middleware::Compress` to take effect.
|
||||||
#[inline]
|
#[inline]
|
||||||
pub fn set_content_encoding(mut self, enc: ContentEncoding) -> Self {
|
pub fn set_content_encoding(mut self, enc: ContentEncoding) -> Self {
|
||||||
self.encoding = Some(enc);
|
self.encoding = Some(enc);
|
||||||
|
|
Loading…
Reference in New Issue