Run clippy on tests and examples

This commit is contained in:
Floris Bruynooghe
2020-09-05 17:39:53 +02:00
parent 11b9a933b0
commit ee27c7d9d4
15 changed files with 38 additions and 28 deletions

View File

@@ -268,6 +268,8 @@ pub(crate) async fn moz_autoconfigure(
#[cfg(test)]
mod tests {
#![allow(clippy::indexing_slicing)]
use super::*;
#[test]

View File

@@ -209,6 +209,8 @@ pub(crate) async fn outlk_autodiscover(
#[cfg(test)]
mod tests {
#![allow(clippy::indexing_slicing)]
use super::*;
#[test]

View File

@@ -498,6 +498,7 @@ pub enum Error {
#[cfg(test)]
mod tests {
#![allow(clippy::indexing_slicing)]
use super::*;
use crate::config::*;