diff --git a/librashader-preprocess/src/lib.rs b/librashader-preprocess/src/lib.rs index 45326ff..7adf0c8 100644 --- a/librashader-preprocess/src/lib.rs +++ b/librashader-preprocess/src/lib.rs @@ -6,8 +6,8 @@ mod stage; use crate::include::read_source; pub use error::*; use librashader_common::ImageFormat; -use std::path::Path; use rustc_hash::FxHashMap; +use std::path::Path; /// The source file for a single shader pass. #[derive(Debug, Clone, PartialEq)] @@ -72,8 +72,7 @@ pub(crate) fn load_shader_source(path: impl AsRef) -> Result>, PreprocessError> = preset .shaders .iter() - .map(|s| ShaderSource::load(&s.name).map(|s| - s.parameters.into_values() - .collect())) + .map(|s| ShaderSource::load(&s.name).map(|s| s.parameters.into_values().collect())) .into_iter() .collect(); let iters = iters?;