Skip to content

Commit e305674

Browse files
committed
book: remove a sentence that is not clear
1 parent 20cf4cf commit e305674

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/doc/trpl/generics.md

Lines changed: 2 additions & 2 deletions
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)