Skip to content

Commit

Permalink
more clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
ranile committed Nov 12, 2020
1 parent 1d74305 commit fb31ae8
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 3 deletions.
2 changes: 0 additions & 2 deletions clippy.toml

This file was deleted.

2 changes: 1 addition & 1 deletion rustfmt.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use_field_init_shorthand = true
#Nightly only below, don't know why i even added those
#Nightly only below
force_multiline_blocks = true
format_code_in_doc_comments = true
format_macro_matchers = true
Expand Down
2 changes: 2 additions & 0 deletions screenshots/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![allow(clippy::redundant_closure)]

use yew::prelude::*;
use yew_material::{
dialog::{ActionType, MatDialogAction},
Expand Down
1 change: 1 addition & 0 deletions website/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![allow(clippy::redundant_closure)]
mod components;
pub mod macros;

Expand Down
3 changes: 3 additions & 0 deletions yew-material/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// https://github.com/rust-lang/rust-clippy/issues/6327
#![allow(unused_imports)]

//! A Material components library for [Yew](https://yew.rs). It wrpas around [Material Web Components](https://github.com/material-components/material-components-web-components) exposing Yew components.
//!
//! Example usage:
Expand Down

0 comments on commit fb31ae8

Please sign in to comment.