Skip to content

Commit 709afff

Browse files
committed
fix examples
Signed-off-by: Yoshua Wuyts <[email protected]>
1 parent 300c5c5 commit 709afff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/cookies.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ async fn set_cookie(mut cx: Context<()>) {
1111
cx.set_cookie(Cookie::new("hello", "world")).unwrap();
1212
}
1313

14-
async fn remove_cookie(mut cx: Context<()>) {
14+
async fn remove_cookie(cx: Context<()>) {
1515
cx.remove_cookie(Cookie::named("hello")).unwrap();
1616
}
1717

0 commit comments

Comments
 (0)