fix warning
EBO <eric.bouhana@softalys.com> committé le 2026-03-10 16:34
fca35e2fffa1903db8d37a16d266aa11b0596178
1 parent(s)
1 fichiers modifiés
+2
-1
M
crates/rustwarden-ui/src/handlers/settings_handler.rs
+2
-1
@@ -567,11 +567,12 @@ pub async fn update_preferences(
| 567 | 567 | // ============================================================================ |
| 568 | 568 | |
| 569 | 569 | /// Custom filters for Askama templates |
| 570 | +#[allow(dead_code)] | |
| 570 | 571 | mod filters { |
| 571 | 572 | use askama::Result; |
| 572 | 573 | |
| 573 | - #[askama::filter_fn] | |
| 574 | 574 | #[allow(dead_code)] |
| 575 | + #[askama::filter_fn] | |
| 575 | 576 | pub fn default<T: std::fmt::Display>( |
| 576 | 577 | value: T, |
| 577 | 578 | _values: &dyn askama::Values, |
GitRust