Skip to content

Commit 0d6f11b

Browse files
committed
Rollup merge of #26105 - tshepang:sentence-not-clear, r=steveklabnik
2 parents 65eb6c0 + e305674 commit 0d6f11b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/doc/trpl/generics.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
% Generics
22

33
Sometimes, when writing a function or data type, we may want it to work for
4-
multiple types of arguments. Luckily, Rust has a feature that gives us a better
5-
way: generics. Generics are called ‘parametric polymorphism’ in type theory,
4+
multiple types of arguments. In Rust, we can do this with generics.
5+
Generics are called ‘parametric polymorphism’ in type theory,
66
which means that they are types or functions that have multiple forms (‘poly’
77
is multiple, ‘morph’ is form) over a given parameter (‘parametric’).
88

0 commit comments

Comments
 (0)