Skip to content

Commit 7a97567

Browse files
committed
pluralize
1 parent ca63a1e commit 7a97567

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

posts/2024-09-05-impl-trait-capture-rules.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ Read on for the details!
2222
This blog post concerns *return-position `impl Trait`*, such as the following example:
2323

2424
```rust
25-
fn process_datums(
26-
datums: &[Datum]
25+
fn process_data(
26+
data: &[Datum]
2727
) -> impl Iterator<Item = ProcessedDatum> {
28-
datums
28+
data
2929
.iter()
3030
.map(|datum| datum.process())
3131
}

0 commit comments

Comments
 (0)