diff --git a/examples/upgrades.rs b/examples/upgrades.rs index 6a3afcd482..ba02c15aca 100644 --- a/examples/upgrades.rs +++ b/examples/upgrades.rs @@ -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(()) }