-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* refactor(yew-macro): ignore `dead_code` for `Lint::lint` if not `cfg(yew_lints)` `dead_code` has become more precise in recent toolchains. * refactor(yew): stop using `static mut` hack to get static reference to an empty `Vec<VNode>` The old code triggered `static_mut_refs` lint in the latest stable toolchain. * refactor(yew): ignore `clippy::to_string_trait_impl` for `impl ToString for Classes` * perf(yew,yew-router): use `const {}` syntax for `thread_local!` Addresses `clippy::thread_local_initializer_can_be_made_const`. May provide performance benefits. * refactor(yew): remove `yew::html::component::lifecycle::Stateful::as_any_mut` Addresses `dead_code` lint. * refactor(yew): ignore `clippy::incompatible_msrv` for `TopologicalQueue::pop_topmost` if Rust version >= 1.66 The use of `BTreeMap::pop_first` (stabilized in 1.66) is already gated by `#[rustversion(since(1.66))]` hence we can ignore this warning. * refactor(yew): gate `yew::html::component::lifecycle::Stateful::{rendered,props_changed}` by `cfg(feature = "csr")` Addresses `dead_code` lint. * test(website-test): ignore `clippy::needless_doctest_main` * doc(examples): replace `clone` + assignment with `clone_from` Addresses `clippy::assigning_clones` lint.
- Loading branch information
Showing
9 changed files
with
14 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
#![allow(clippy::needless_doctest_main)] | ||
pub mod tutorial; | ||
|
||
include!(concat!(env!("OUT_DIR"), "/website_tests.rs")); |