Skip to content

Commit

Permalink
Remove unstable lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jedel1043 committed Nov 4, 2022
1 parent 068eb81 commit d0c961c
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 12 deletions.
6 changes: 1 addition & 5 deletions boa_ast/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,7 @@
nonstandard_style,
missing_docs
)]
#![allow(
clippy::module_name_repetitions,
clippy::too_many_lines,
rustdoc::missing_doc_code_examples
)]
#![allow(clippy::module_name_repetitions, clippy::too_many_lines)]

mod position;
mod punctuator;
Expand Down
1 change: 0 additions & 1 deletion boa_engine/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@
// Ignore because `write!(string, ...)` instead of `string.push_str(&format!(...))` can fail.
// We only use it in `ToInternedString` where performance is not an issue.
clippy::format_push_string,
rustdoc::missing_doc_code_examples
)]

extern crate static_assertions as sa;
Expand Down
1 change: 0 additions & 1 deletion boa_interner/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@
clippy::let_unit_value,
// TODO deny once false positive is fixed (https://github.com/rust-lang/rust-clippy/issues/9626).
clippy::trait_duplication_in_bounds,
rustdoc::missing_doc_code_examples,
)]

extern crate static_assertions as sa;
Expand Down
1 change: 0 additions & 1 deletion boa_tester/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@
clippy::missing_errors_doc,
clippy::as_conversions,
clippy::let_unit_value,
rustdoc::missing_doc_code_examples
)]

mod exec;
Expand Down
3 changes: 1 addition & 2 deletions boa_unicode/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,7 @@
clippy::must_use_candidate,
clippy::missing_errors_doc,
clippy::as_conversions,
clippy::let_unit_value,
rustdoc::missing_doc_code_examples
clippy::let_unit_value
)]

mod tables;
Expand Down
3 changes: 1 addition & 2 deletions boa_wasm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,7 @@
clippy::must_use_candidate,
clippy::missing_errors_doc,
clippy::as_conversions,
clippy::let_unit_value,
rustdoc::missing_doc_code_examples
clippy::let_unit_value
)]

use boa_engine::Context;
Expand Down

0 comments on commit d0c961c

Please sign in to comment.