Skip to content

Commit

Permalink
add static method caveat to Modules documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanlarsen authored and asomers committed Oct 18, 2022
1 parent dd83f2f commit d544d16
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mockall/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -963,6 +963,9 @@
//! "mock_xxx", if "xxx" is the original module's name. You can also use
//! `#[double]` to selectively import the mock module.
//!
//! Be careful! Module functions are static and so have the same caveats as
//! [static methods](#static-methods) described above.
//!
//! ```
//! # use mockall::*;
//! # use mockall_double::*;
Expand Down

0 comments on commit d544d16

Please sign in to comment.