fix clippy

This commit is contained in:
Evan Almloff committed 2024-06-06 15:34:52 -05:00
1 parent 0eb16f27d4
commit e1044a2fa8
2 files changed
+7 -6

No files matched your search

+1
View File
@@ -151,6 +151,7 @@ impl Config {
#[cfg(feature = "web")]
#[cfg_attr(docsrs, doc(cfg(feature = "web")))]
pub fn web_cfg(self, web_cfg: dioxus_web::Config) -> Self {
#[allow(clippy::needless_update)]
Self { web_cfg, ..self }
}
}