We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d10f73a commit 12e6475Copy full SHA for 12e6475
src/redirect.rs
@@ -56,7 +56,7 @@ impl<T: AsRef<str>> Redirect<T> {
56
57
/// Creates an endpoint that represents a permanent redirect to `location`.
58
///
59
- /// Uses status code 301 Permanent Redirect.
+ /// Uses status code 308 Permanent Redirect.
60
pub fn permanent(location: T) -> Self {
61
Self {
62
status: StatusCode::PermanentRedirect,
0 commit comments