mirror of
https://github.com/haraldh/chainerror.git
synced 2025-01-30 16:46:42 +01:00
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:
parent
1327575aa9
commit
165c1b939c
|
@ -1,3 +1,6 @@
|
|||
#![allow(clippy::single_match)]
|
||||
#![allow(clippy::redundant_pattern_matching)]
|
||||
|
||||
use std::error::Error;
|
||||
use std::io;
|
||||
use std::result::Result;
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
#![allow(clippy::single_match)]
|
||||
#![allow(clippy::redundant_pattern_matching)]
|
||||
|
||||
pub mod mycrate {
|
||||
use chainerror::prelude::v1::*;
|
||||
use std::io;
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
#![allow(clippy::single_match)]
|
||||
#![allow(clippy::redundant_pattern_matching)]
|
||||
|
||||
pub mod mycrate {
|
||||
use std::error::Error as StdError;
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
#![allow(clippy::single_match)]
|
||||
#![allow(clippy::redundant_pattern_matching)]
|
||||
|
||||
pub mod mycrate {
|
||||
use chainerror::prelude::v1::*;
|
||||
use std::io;
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
#![allow(clippy::single_match)]
|
||||
#![allow(clippy::redundant_pattern_matching)]
|
||||
|
||||
use chainerror::prelude::v1::*;
|
||||
use std::error::Error;
|
||||
use std::io;
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
#![allow(clippy::single_match)]
|
||||
#![allow(clippy::redundant_pattern_matching)]
|
||||
|
||||
use chainerror::prelude::v1::*;
|
||||
use std::error::Error;
|
||||
use std::io;
|
||||
|
|
Loading…
Reference in a new issue