diff --git a/README.md b/README.md index c393c10..4753f50 100644 --- a/README.md +++ b/README.md @@ -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: diff --git a/src/lib.rs b/src/lib.rs index 100bee6..3ae002a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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: //! //! ```