Skip to content

Commit

Permalink
Merge pull request #525 from mgeisler/patch-1
Browse files Browse the repository at this point in the history
Clarify "namespace" to "name"
  • Loading branch information
asomers authored Dec 7, 2023
2 parents 2482f72 + 7fbcfb8 commit 3d5c289
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mockall/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1390,8 +1390,8 @@ pub use mockall_derive::concretize;
/// ```
///
/// When mocking a generic struct's implementation of a generic trait, use the
/// same namespace for their generic parameters. For example, if you wanted to
/// mock `Rc`, do
/// same name for their generic parameters. For example, if you wanted to mock
/// `Rc`, do
/// ```
/// # use mockall_derive::mock;
/// mock!{
Expand Down

0 comments on commit 3d5c289

Please sign in to comment.