Skip to content

Commit a19ea4e

Browse files
authored
Fix unterminated string lit in concurrency-primitives.md
Also fixes coloring for the rest of the example
1 parent 91343fc commit a19ea4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/part-guide/concurrency-primitives.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Here's an example using Tokio's [`select`](https://docs.rs/tokio/latest/tokio/ma
6767
async fn main() {
6868
select! {
6969
result = do_a_thing() => {
70-
println!("computation completed and returned {result});
70+
println!("computation completed and returned {result}");
7171
}
7272
_ = timeout() => {
7373
println!("computation timed-out");

0 commit comments

Comments
 (0)