From 979707736cc937200ded3afae52bf8aa7501ebf2 Mon Sep 17 00:00:00 2001 From: Lazaro Hurtado Date: Wed, 29 Sep 2021 21:57:57 -0400 Subject: [PATCH] fixed link typo --- src/items/generics.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/items/generics.md b/src/items/generics.md index e9c11ffcf..0a9703335 100644 --- a/src/items/generics.md +++ b/src/items/generics.md @@ -37,7 +37,7 @@ Generic parameters are in scope within the item definition where they are declared. They are not in scope for items declared within the body of a function as described in [item declarations]. -[References], [raw pointers], [arrays], [slices][arrays], [tuples], and +[References], [raw pointers], [arrays], [slices], [tuples], and [function pointers] have lifetime or type parameters as well, but are not referred to with path syntax. @@ -274,6 +274,7 @@ struct Foo<#[my_flexible_clone(unbounded)] H> { [array repeat expression]: ../expressions/array-expr.md [arrays]: ../types/array.md +[slices]: ../types/slice.md [associated const]: associated-items.md#associated-constants [associated type]: associated-items.md#associated-types [block]: ../expressions/block-expr.md