Skip to content

Commit

Permalink
fix: clippy lints in .cargo/config.toml, adds digit grouping lint
Browse files Browse the repository at this point in the history
  • Loading branch information
encody committed Sep 6, 2022
1 parent 4e4adf0 commit e6e0fa2
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[target.'cfg(all())']
rustflags = [
"-Wmissing_docs",
"-Wclippy::large_digit_groups",
]
2 changes: 2 additions & 0 deletions macros/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//! Macros for near-contract-tools
use darling::FromDeriveInput;
use proc_macro::TokenStream;
use syn::{parse_macro_input, DeriveInput};
Expand Down
2 changes: 0 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
//! Helpful functions and macros for developing smart contracts on NEAR Protocol.
#![warn(missing_docs)]

pub mod standard;

pub mod event;
Expand Down
2 changes: 2 additions & 0 deletions workspaces-tests/src/bin/fungible_token.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![allow(missing_docs)]

// Ignore
pub fn main() {}

Expand Down

0 comments on commit e6e0fa2

Please sign in to comment.