Skip to content

Commit

Permalink
Clarify "namespace" to "name"
Browse files Browse the repository at this point in the history
I think _name_ is more appropriate here since _namespace_ normally refers the grouping done by an `impl` blocks and modules.
  • Loading branch information
mgeisler authored Dec 7, 2023
1 parent 2482f72 commit 7fbcfb8
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 7fbcfb8

Please sign in to comment.