Skip to content

Commit 86603cf

Browse files
committed
Fix typos
1 parent e8e18ae commit 86603cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

surveys/micro/2025-09-variadic-use-cases.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,11 +102,11 @@ Type: free text (optional)
102102

103103
The following section refers to "non-linear" variadic generics.
104104

105-
"Linear" variadics generics, in this context, means generics which only map over types in a fixed order, and otherwise preserve a one-to-one correspondance between type parameters and derived types.
105+
"Linear" variadics generics, in this context, means generics that only map over types in a fixed order, and otherwise preserve a one-to-one correspondence between type parameters and derived types.
106106

107107
All the examples so far have been linear variadics.
108108

109-
"Non-linear" variadics generics mean things like filtering a tuple of types to only keeps those that implement a trait, or reversing a tuple of types, or finding the first type in a tuple that implements a trait.
109+
"Non-linear" variadics generics mean things like filtering a tuple of types to only keep those that implement a trait, or reversing a tuple of types, or finding the first type in a tuple that implements a trait.
110110

111111
```rust
112112
fn get_children<...Ts>(parents: (...Ts)) -> (for <T of ...Ts where T: Parent> T::Child) {

0 commit comments

Comments
 (0)