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 39d418c commit 1a6e8f7Copy full SHA for 1a6e8f7
src/async_impl/response.rs
@@ -121,7 +121,7 @@ impl Response {
121
122
/// Get all the intermediate `Url`s traversed by redirects.
123
#[inline]
124
- pub fn history(&self) -> &Vec<Url> {
+ pub fn history(&self) -> &[Url] {
125
&self.history
126
}
127
src/blocking/response.rs
@@ -165,7 +165,7 @@ impl Response {
165
166
167
168
169
self.inner.history()
170
171
0 commit comments