Skip to content

Commit 5bb407a

Browse files
committed
Remove fancy quote from a code comment
This isn't always recognized as UTF-8 on all platforms after copy-pasting. Fixes #2606 Related to #2539, #1307, #1533
1 parent 2250f51 commit 5bb407a

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)