Skip to content

Commit 18566f4

Browse files
authored
Merge pull request #1195 from Rosto75/master
Fixed wording in the `Seconds` struct description.
2 parents 8fb9313 + cad22d6 commit 18566f4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/generics/assoc_items/types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ trait Contains {
4141
type A;
4242
type B;
4343
44-
fn contains(&self, &Self::A, &Self::B) -> bool;
44+
fn contains(&self, _: &Self::A, _: &Self::B) -> bool;
4545
fn first(&self) -> i32;
4646
fn last(&self) -> i32;
4747
}

src/trait/derive.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ impl Inches {
3030
}
3131
}
3232
33-
// `Seconds`, a tuple struct no additional attributes
33+
// `Seconds`, a tuple struct with no additional attributes
3434
struct Seconds(i32);
3535
3636
fn main() {

0 commit comments

Comments
 (0)