We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0510ca8 commit c060061Copy full SHA for c060061
src/ch15-06-reference-cycles.md
@@ -84,7 +84,7 @@ If you uncomment the last `println!` and run the program, Rust will try to
84
print this cycle with `a` pointing to `b` pointing to `a` and so forth until it
85
overflows the stack.
86
87
-Compared to a real-world program, the consequences creating a reference cycle
+Compared to a real-world program, the consequences of creating a reference cycle
88
in this example aren’t very dire: right after we create the reference cycle,
89
the program ends. However, if a more complex program allocated lots of memory
90
in a cycle and held onto it for a long time, the program would use more memory
0 commit comments