Skip to content

Commit 7f797da

Browse files
Fix inconsistent use of = sign in the comment.
Changed a single `=` (assignment) into `==` (equality), which was clearly the author's original intention.
1 parent 2c743c5 commit 7f797da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/std/box.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ fn main() {
5959
println!("Rectangle occupies {} bytes on the stack",
6060
mem::size_of_val(&rectangle));
6161
62-
// box size = pointer size
62+
// box size == pointer size
6363
println!("Boxed point occupies {} bytes on the stack",
6464
mem::size_of_val(&boxed_point));
6565
println!("Boxed rectangle occupies {} bytes on the stack",

0 commit comments

Comments
 (0)