Skip to content

Commit c060061

Browse files
vishallamacarols10cents
authored andcommitted
Fix grammar
Add the word 'of' to fix the grammar.
1 parent 0510ca8 commit c060061

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ch15-06-reference-cycles.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ If you uncomment the last `println!` and run the program, Rust will try to
8484
print this cycle with `a` pointing to `b` pointing to `a` and so forth until it
8585
overflows the stack.
8686

87-
Compared to a real-world program, the consequences creating a reference cycle
87+
Compared to a real-world program, the consequences of creating a reference cycle
8888
in this example aren’t very dire: right after we create the reference cycle,
8989
the program ends. However, if a more complex program allocated lots of memory
9090
in a cycle and held onto it for a long time, the program would use more memory

0 commit comments

Comments
 (0)