From 0193d7aa1f6a98373439a26c8b4ff5b54897493c Mon Sep 17 00:00:00 2001 From: Charl Matthee Date: Tue, 16 May 2023 18:12:28 +0200 Subject: [PATCH] Update ch10-01-generic-data-types.md Small typo. --- docs/ch10/ch10-01-generic-data-types.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ch10/ch10-01-generic-data-types.md b/docs/ch10/ch10-01-generic-data-types.md index 9c22527..d4c3c52 100644 --- a/docs/ch10/ch10-01-generic-data-types.md +++ b/docs/ch10/ch10-01-generic-data-types.md @@ -163,6 +163,6 @@ In other words, if we go back to the `fn largest(list: &[T]) -> &T` we starte let result = largest(&char_list); ``` -then internally Rust would actually compile two different functions, a `largest` and a `largest`. This means generic have no runtime performance impact (but they do make your executable slightly larger). +then internally Rust would actually compile two different functions, a `largest` and a `largest`. This means generics have no runtime performance impact (but they do make your executable slightly larger). Continue to [10.02 - Traits](./ch10-02-traits.md).