mirror of https://github.com/fafhrd91/actix-web
Tweak doc comment
This commit is contained in:
parent
d4b827d46b
commit
a8853634cc
|
|
@ -147,9 +147,9 @@ impl Files {
|
|||
self
|
||||
}
|
||||
|
||||
/// Redirect with permanent redirect status code
|
||||
/// Redirect with permanent redirect status code (308).
|
||||
///
|
||||
/// By default redirect with temporary redirect status code
|
||||
/// By default redirect with temporary redirect status code (307).
|
||||
pub fn with_permanent_redirect(mut self) -> Self {
|
||||
self.with_permanent_redirect = true;
|
||||
self
|
||||
|
|
|
|||
Loading…
Reference in New Issue