Skip to content

Commit 29def25

Browse files
authored
fix: typo (#384)
1 parent f92f2e3 commit 29def25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/idioms/on-stack-dyn-dispatch.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ use std::fs;
1919
// These must live longer than `readable`, and thus are declared first:
2020
let (mut stdin_read, mut file_read);
2121

22-
// We need to ascribe the type to get dynamic dispatch.
22+
// We need to describe the type to get dynamic dispatch.
2323
let readable: &mut dyn io::Read = if arg == "-" {
2424
stdin_read = io::stdin();
2525
&mut stdin_read

0 commit comments

Comments
 (0)