mirror of
https://github.com/Llewellynvdm/exa.git
synced 2024-12-28 10:40:48 +00:00
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.
This commit is contained in:
parent
12ab6bebc6
commit
3d3acc2e93
@ -771,6 +771,7 @@ pub mod test {
|
|||||||
// Metadata struct, which is what I was doing before!
|
// Metadata struct, which is what I was doing before!
|
||||||
|
|
||||||
mod users {
|
mod users {
|
||||||
|
#![allow(unused_results)]
|
||||||
use super::*;
|
use super::*;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
@ -833,6 +834,7 @@ pub mod test {
|
|||||||
}
|
}
|
||||||
|
|
||||||
mod groups {
|
mod groups {
|
||||||
|
#![allow(unused_results)]
|
||||||
use super::*;
|
use super::*;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
Loading…
Reference in New Issue
Block a user