summaryrefslogtreecommitdiffstats
path: root/examples/udp-codec.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/udp-codec.rs')
-rw-r--r--examples/udp-codec.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/udp-codec.rs b/examples/udp-codec.rs
index dc30394f..8b64cbc3 100644
--- a/examples/udp-codec.rs
+++ b/examples/udp-codec.rs
@@ -46,7 +46,7 @@ async fn main() -> Result<(), Box<dyn Error>> {
// Run both futures simultaneously of `a` and `b` sending messages back and forth.
match futures::future::try_join(a, b).await {
- Err(e) => println!("an error occured; error = {:?}", e),
+ Err(e) => println!("an error occurred; error = {:?}", e),
_ => println!("done!"),
}