diff --git a/README.md b/README.md index f3714317..3351e28a 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Read the [Notes and FAQ](#notes-and-faq) use worker::*; #[event(fetch)] -pub async fn main(req: Request, env: Env, _ctx: worker::Context) -> Result { +pub async fn main(mut req: Request, env: Env, _ctx: worker::Context) -> Result { console_log!( "{} {}, located at: {:?}, within: {}", req.method().to_string(),