Skip to content

Commit 2dce088

Browse files
carols10centsjoeljpresent
authored andcommitted
Remove fancy quote from a code comment
This isn't always recognized as UTF-8 on all platforms after copy-pasting. Fixes rust-lang#2606 Related to rust-lang#2539, rust-lang#1307, rust-lang#1533
1 parent c119058 commit 2dce088

File tree

1 file changed

+1
-1
lines changed
  • listings/ch04-understanding-ownership/listing-04-03/src

1 file changed

+1
-1
lines changed

listings/ch04-understanding-ownership/listing-04-03/src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ fn main() {
77
let x = 5; // x comes into scope
88

99
makes_copy(x); // x would move into the function,
10-
// but i32 is Copy, so its okay to still
10+
// but i32 is Copy, so it's okay to still
1111
// use x afterward
1212

1313
} // Here, x goes out of scope, then s. But because s's value was moved, nothing

0 commit comments

Comments
 (0)