From 55b1d69cfdc5cd91f2ebca9dfef3558d694157da Mon Sep 17 00:00:00 2001 From: Tshepang Mbambo Date: Sat, 29 Nov 2025 22:06:52 +0200 Subject: [PATCH 1/2] do not mix singular and plural --- src/types/function-pointer.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types/function-pointer.md b/src/types/function-pointer.md index 239638413f..01693c81be 100644 --- a/src/types/function-pointer.md +++ b/src/types/function-pointer.md @@ -25,7 +25,7 @@ MaybeNamedFunctionParametersVariadic -> ``` r[type.fn-pointer.intro] -Function pointer types, written using the `fn` keyword, refer to a function +A function pointer type, written using the `fn` keyword, refers to a function whose identity is not necessarily known at compile-time. An example where `Binop` is defined as a function pointer type: From 0b8985bf1c1f2aa6b9c4f340ad6da62f3f1f78ec Mon Sep 17 00:00:00 2001 From: Tshepang Mbambo Date: Sat, 29 Nov 2025 22:07:23 +0200 Subject: [PATCH 2/2] unwrap --- src/types/function-pointer.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/types/function-pointer.md b/src/types/function-pointer.md index 01693c81be..e79b945314 100644 --- a/src/types/function-pointer.md +++ b/src/types/function-pointer.md @@ -25,8 +25,7 @@ MaybeNamedFunctionParametersVariadic -> ``` r[type.fn-pointer.intro] -A function pointer type, written using the `fn` keyword, refers to a function -whose identity is not necessarily known at compile-time. +A function pointer type, written using the `fn` keyword, refers to a function whose identity is not necessarily known at compile-time. An example where `Binop` is defined as a function pointer type: