Skip to content

Commit 41870da

Browse files
committed
tutorial: Typos
1 parent 191b328 commit 41870da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/tutorial.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1956,8 +1956,8 @@ fn radius(shape: Shape) -> Option<float> {
19561956

19571957
The Rust compiler compiles generic functions very efficiently by
19581958
*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
1959+
idea: generate a separate copy of each generic function at each call site,
1960+
a copy that is specialized to the argument
19611961
types and can thus be optimized specifically for them. In this
19621962
respect, Rust's generics have similar performance characteristics to
19631963
C++ templates.

0 commit comments

Comments
 (0)