Skip to content

Commit

Permalink
disable clippy::uninlined_format_args to avoid bumping msrv
Browse files Browse the repository at this point in the history
  • Loading branch information
preston-evans98 committed Feb 8, 2023
1 parent ebca422 commit 5639cf3
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions borsh-derive-internal/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#![recursion_limit = "128"]
// TODO: re-enable this lint when we bump msrv to 1.58
#![allow(clippy::uninlined_format_args)]

mod attribute_helpers;
mod enum_de;
Expand Down
2 changes: 2 additions & 0 deletions borsh-derive/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// TODO: re-enable this lint when we bump msrv to 1.58
#![allow(clippy::uninlined_format_args)]
extern crate proc_macro;
use proc_macro::TokenStream;
use proc_macro2::Span;
Expand Down
2 changes: 2 additions & 0 deletions borsh-schema-derive-internal/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#![recursion_limit = "128"]
// TODO: re-enable this lint when we bump msrv to 1.58
#![allow(clippy::uninlined_format_args)]

mod helpers;

Expand Down
2 changes: 2 additions & 0 deletions borsh/src/generate_schema_schema.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
//! Generate `BorshSchemaCointainer` for `BorshSchemaContainer` and save it into a file.
// TODO: re-enable this lint when we bump msrv to 1.58
#![allow(clippy::uninlined_format_args)]
use borsh::schema::BorshSchema;
use borsh::BorshSerialize;
use std::fs::File;
Expand Down
2 changes: 2 additions & 0 deletions borsh/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#![cfg_attr(not(feature = "std"), no_std)]
// TODO: re-enable this lint when we bump msrv to 1.58
#![allow(clippy::uninlined_format_args)]

#[cfg(not(feature = "std"))]
extern crate alloc;
Expand Down

0 comments on commit 5639cf3

Please sign in to comment.