Skip to content

Commit 640d785

Browse files
authored
use consistent wording about type annotation (#1603)
1 parent 3dbcb9e commit 640d785

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/conversion/from_into.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ impl From<i32> for Number {
6666
6767
fn main() {
6868
let int = 5;
69-
// Try removing the type declaration
69+
// Try removing the type annotation
7070
let num: Number = int.into();
7171
println!("My number is {:?}", num);
7272
}

0 commit comments

Comments
 (0)