Skip to content

Commit

Permalink
Merge pull request #1195 from Rosto75/master
Browse files Browse the repository at this point in the history
Fixed wording in the `Seconds` struct description.
  • Loading branch information
marioidival committed May 30, 2019
2 parents 8fb9313 + cad22d6 commit 18566f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/generics/assoc_items/types.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ trait Contains {
type A;
type B;
fn contains(&self, &Self::A, &Self::B) -> bool;
fn contains(&self, _: &Self::A, _: &Self::B) -> bool;
fn first(&self) -> i32;
fn last(&self) -> i32;
}
Expand Down
2 changes: 1 addition & 1 deletion src/trait/derive.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ impl Inches {
}
}
// `Seconds`, a tuple struct no additional attributes
// `Seconds`, a tuple struct with no additional attributes
struct Seconds(i32);
fn main() {
Expand Down

0 comments on commit 18566f4

Please sign in to comment.