chore: suppress clippy errors in tutorial

code is in this state by purpose

Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
This commit is contained in:
Harald Hoyer 2023-07-27 14:37:19 +02:00
parent 1327575aa9
commit 165c1b939c
Signed by: harald
GPG key ID: 900F3C4971086004
6 changed files with 18 additions and 0 deletions

View file

@ -1,3 +1,6 @@
#![allow(clippy::single_match)]
#![allow(clippy::redundant_pattern_matching)]
use std::error::Error; use std::error::Error;
use std::io; use std::io;
use std::result::Result; use std::result::Result;

View file

@ -1,3 +1,6 @@
#![allow(clippy::single_match)]
#![allow(clippy::redundant_pattern_matching)]
pub mod mycrate { pub mod mycrate {
use chainerror::prelude::v1::*; use chainerror::prelude::v1::*;
use std::io; use std::io;

View file

@ -1,3 +1,6 @@
#![allow(clippy::single_match)]
#![allow(clippy::redundant_pattern_matching)]
pub mod mycrate { pub mod mycrate {
use std::error::Error as StdError; use std::error::Error as StdError;

View file

@ -1,3 +1,6 @@
#![allow(clippy::single_match)]
#![allow(clippy::redundant_pattern_matching)]
pub mod mycrate { pub mod mycrate {
use chainerror::prelude::v1::*; use chainerror::prelude::v1::*;
use std::io; use std::io;

View file

@ -1,3 +1,6 @@
#![allow(clippy::single_match)]
#![allow(clippy::redundant_pattern_matching)]
use chainerror::prelude::v1::*; use chainerror::prelude::v1::*;
use std::error::Error; use std::error::Error;
use std::io; use std::io;

View file

@ -1,3 +1,6 @@
#![allow(clippy::single_match)]
#![allow(clippy::redundant_pattern_matching)]
use chainerror::prelude::v1::*; use chainerror::prelude::v1::*;
use std::error::Error; use std::error::Error;
use std::io; use std::io;