Skip to content

Commit

Permalink
use consistent wording about type annotation (#1603)
Browse files Browse the repository at this point in the history
  • Loading branch information
augustfengd authored Sep 30, 2022
1 parent 3dbcb9e commit 640d785
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/conversion/from_into.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ impl From<i32> for Number {
fn main() {
let int = 5;
// Try removing the type declaration
// Try removing the type annotation
let num: Number = int.into();
println!("My number is {:?}", num);
}
Expand Down

0 comments on commit 640d785

Please sign in to comment.