Skip to content

Commit

Permalink
Merge pull request #168 from taiki-e/typo
Browse files Browse the repository at this point in the history
Fix typos
  • Loading branch information
dtolnay committed Jul 22, 2021
2 parents 4811cb0 + 8906d82 commit bf9099e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -217,7 +217,7 @@ error: the trait `Test` cannot be made into an object
For traits that need to be object safe and need to have default implementations
for some async methods, there are two resolutions. Either you can add Send
and/or Sync as supertraits (Send if there are `&mut self` methods with default
implementations, Sync if there are `&self` methods with default implementions)
implementations, Sync if there are `&self` methods with default implementations)
to constrain all implementors of the trait such that the default implementations
are applicable to them:

Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Expand Up @@ -259,7 +259,7 @@
//! implementations for some async methods, there are two resolutions. Either
//! you can add Send and/or Sync as supertraits (Send if there are `&mut self`
//! methods with default implementations, Sync if there are `&self` methods with
//! default implementions) to constrain all implementors of the trait such that
//! default implementations) to constrain all implementors of the trait such that
//! the default implementations are applicable to them:
//!
//! ```
Expand Down

0 comments on commit bf9099e

Please sign in to comment.