Skip to content

Commit

Permalink
docs(example): fix typo in upgrade example (#3479)
Browse files Browse the repository at this point in the history
  • Loading branch information
ncihnegn authored Dec 14, 2023
1 parent 19c59d5 commit 15d9706
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/upgrades.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ async fn server_upgraded_io(upgraded: Upgraded) -> Result<()> {

// and now write back the server 'foobar' protocol's
// response...
upgraded.write_all(b"barr=foo").await?;
upgraded.write_all(b"bar=foo").await?;
println!("server[foobar] sent");
Ok(())
}
Expand Down

0 comments on commit 15d9706

Please sign in to comment.