Skip to content

Commit

Permalink
fixed fmt for config.rs and crate_context.rs
Browse files Browse the repository at this point in the history
Signed-off-by: ianisimov <[email protected]>
  • Loading branch information
yoks committed Jan 27, 2025
1 parent 86bbd1a commit e3431ec
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 4 additions & 1 deletion crate_universe/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,10 @@ impl CrateAnnotations {
default(&mut self.deps, deps);
default(&mut self.compile_data, compile_data);
default(&mut self.compile_data_glob, compile_data_glob);
default(&mut self.compile_data_glob_excludes, compile_data_glob_excludes);
default(
&mut self.compile_data_glob_excludes,
compile_data_glob_excludes,
);
default(&mut self.rustc_env, rustc_env);
default(&mut self.rustc_env_files, rustc_env_files);
default(&mut self.rustc_flags, rustc_flags);
Expand Down
4 changes: 3 additions & 1 deletion crate_universe/src/context/crate_context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,9 @@ impl CrateContext {
}

if let Some(extra) = &crate_extra.compile_data_glob_excludes {
self.common_attrs.compile_data_glob_excludes.extend(extra.clone());
self.common_attrs
.compile_data_glob_excludes
.extend(extra.clone());
}

// Crate features
Expand Down

0 comments on commit e3431ec

Please sign in to comment.