mirror of
https://github.com/actix/actix-extras.git
synced 2025-06-26 02:19:22 +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