Skip to content

Commit 15d9706

Browse files
authored
docs(example): fix typo in upgrade example (#3479)
1 parent 19c59d5 commit 15d9706

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/upgrades.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ async fn server_upgraded_io(upgraded: Upgraded) -> Result<()> {
3737

3838
// and now write back the server 'foobar' protocol's
3939
// response...
40-
upgraded.write_all(b"barr=foo").await?;
40+
upgraded.write_all(b"bar=foo").await?;
4141
println!("server[foobar] sent");
4242
Ok(())
4343
}

0 commit comments

Comments
 (0)