mirror of
https://github.com/haraldh/chainerror.git
synced 2025-05-29 21:18:07 +02: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
6 changed files with 18 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue