diff options
author | Benjamin Sago <ogham@bsago.me> | 2015-09-15 20:05:27 +0100 |
---|---|---|
committer | Benjamin Sago <ogham@bsago.me> | 2015-09-15 20:05:27 +0100 |
commit | 3d3acc2e93ac81e5a96299ab53415dd8ceb5c6d2 (patch) | |
tree | 4794f93dcc5de4c1c87c29791e772105c9b8a1da /src | |
parent | 12ab6bebc6fd648e1ec0e32fc0a7a3f0c764426e (diff) |
Dismiss some compile-time warnings
The `unused_results` lint was complaining that the results of inserting into a `MockUsers` object weren't being inspected. These are mock users, so all that would be returned is `None` to indicate that they weren't already in the table -- they're fine to ignore! So, suppress the warnings for those two testing modules.
Diffstat (limited to 'src')
-rw-r--r-- | src/output/details.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/output/details.rs b/src/output/details.rs index f87d0ad..a62c01e 100644 --- a/src/output/details.rs +++ b/src/output/details.rs @@ -771,6 +771,7 @@ pub mod test { // Metadata struct, which is what I was doing before! mod users { + #![allow(unused_results)] use super::*; #[test] @@ -833,6 +834,7 @@ pub mod test { } mod groups { + #![allow(unused_results)] use super::*; #[test] |