We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
router.get("/", middleware! { |req, mut response| let mut data = HashMap::new(); let cook = format!("{:?}", CookieSession::get_mut(req, &mut response));
error[E0308]: mismatched types --> src/handler.rs:24:57 | 24 | let cook = format!("{:?}", CookieSession::get_mut(req, &mut response)); | ^^^ expected struct `nickel::request::Request`, found struct `nickel::Request` | = note: expected type `&mut nickel::request::Request<'_, '_, _>` = note: found type `&'r mut nickel::Request<'mw, 'conn, _>` error[E0308]: mismatched types --> src/handler.rs:24:62 | 24 | let cook = format!("{:?}", CookieSession::get_mut(req, &mut response)); | ^^^^^^^^^^^^^ expected struct `nickel::response::Response`, found struct `nickel::Response` | = note: expected type `&mut nickel::response::Response<'_, _>` = note: found type `&mut nickel::Response<'mw, _>`
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The text was updated successfully, but these errors were encountered: