Skip to content

Commit

Permalink
Inner field of web::Query is public again (actix#2016)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamchalmers authored Feb 20, 2021
1 parent 8336505 commit bccabde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types/query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ use crate::{dev::Payload, error::QueryPayloadError, Error, FromRequest, HttpRequ
/// }
/// ```
#[derive(Clone, PartialEq, Eq, PartialOrd, Ord)]
pub struct Query<T>(T);
pub struct Query<T>(pub T);

impl<T> Query<T> {
/// Unwrap into inner `T` value.
Expand Down

0 comments on commit bccabde

Please sign in to comment.