diff --git a/crates/builder/src/pages.rs b/crates/builder/src/pages.rs index b7c65a3e..f6a3f32b 100644 --- a/crates/builder/src/pages.rs +++ b/crates/builder/src/pages.rs @@ -8,5 +8,5 @@ use crate::mob::Mob; pub(crate) fn all(mobs: Vec) -> impl Iterator { [index::page(&mobs), add::page()] .into_iter() - .chain(mobs.into_iter().map(|m| Mob::page(m))) + .chain(mobs.into_iter().map(Mob::page)) } diff --git a/nci.nix b/nci.nix index 33e77cf2..55ec718f 100644 --- a/nci.nix +++ b/nci.nix @@ -11,6 +11,7 @@ nci.projects.default = { numtideDevshell = "default"; path = ./.; + drvConfig.env.RUSTFLAGS = "--deny warnings"; }; devshells.default = {