Skip to content

Commit

Permalink
fix clippy feature soundness lints
Browse files Browse the repository at this point in the history
  • Loading branch information
WorldSEnder committed Sep 2, 2022
1 parent 637fd0d commit aff76e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/yew/src/html/component/scope.rs
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ mod feat_csr {
use crate::scheduler;

impl AnyScope {
#[cfg(test)]
#[cfg(all(test, target_arch = "wasm32"))]
pub(crate) fn test() -> Self {
Self {
type_id: TypeId::of::<()>(),
Expand Down
2 changes: 1 addition & 1 deletion packages/yew/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ mod app_handle;
mod renderer;

#[cfg(feature = "csr")]
#[cfg(test)]
#[cfg(all(test, target_arch = "wasm32"))]
mod tests;

/// The module that contains all events available in the framework.
Expand Down

0 comments on commit aff76e0

Please sign in to comment.