Fix comment Redirect::permanent

This commit is contained in:
yugo-horie 2021-09-09 22:47:58 +09:00
parent d10f73a0e1
commit 12e647554b
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ impl<T: AsRef<str>> Redirect<T> {
/// Creates an endpoint that represents a permanent redirect to `location`.
///
/// Uses status code 301 Permanent Redirect.
/// Uses status code 308 Permanent Redirect.
pub fn permanent(location: T) -> Self {
Self {
status: StatusCode::PermanentRedirect,