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 191b328 commit 41870daCopy full SHA for 41870da
doc/tutorial.md
@@ -1956,8 +1956,8 @@ fn radius(shape: Shape) -> Option<float> {
1956
1957
The Rust compiler compiles generic functions very efficiently by
1958
*monomorphizing* them. *Monomorphization* is a fancy name for a simple
1959
-idea: generate a separate copy of each generic function at each call
1960
-site where it is called, a copy that is specialized to the argument
+idea: generate a separate copy of each generic function at each call site,
+a copy that is specialized to the argument
1961
types and can thus be optimized specifically for them. In this
1962
respect, Rust's generics have similar performance characteristics to
1963
C++ templates.
0 commit comments