mirror of
https://github.com/fafhrd91/actix-web
synced 2025-08-31 17:07:01 +02:00
update guide
This commit is contained in:
@@ -91,7 +91,7 @@ impl<T, S> Path<T, S> {
|
||||
&self.req
|
||||
}
|
||||
|
||||
/// Deconstruct instance into a parts
|
||||
/// Deconstruct instance into parts
|
||||
pub fn into(self) -> (T, HttpRequest<S>) {
|
||||
(self.item, self.req)
|
||||
}
|
||||
@@ -179,7 +179,7 @@ impl<T, S> Query<T, S> {
|
||||
&self.req
|
||||
}
|
||||
|
||||
/// Deconstruct instance into a parts
|
||||
/// Deconstruct instance into parts
|
||||
pub fn into(self) -> (T, HttpRequest<S>) {
|
||||
(self.item, self.req)
|
||||
}
|
||||
|
Reference in New Issue
Block a user