Skip to content

Commit d40afff

Browse files
committed
style: rustfmt after the develop port
1 parent 252251b commit d40afff

3 files changed

Lines changed: 7 additions & 4 deletions

File tree

‎src/package_workflow.rs‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2442,7 +2442,12 @@ pub fn write_package_bundle_into(
24422442
for recipe in &bundle.easyconfigs {
24432443
validate_path_segment(&recipe.filename, "easyconfig filename")?;
24442444
let path = recipe_directory.join(&recipe.filename);
2445-
claim_overlay_path(recipe_bundle_root, &path, recipe.text.as_bytes(), claimed_paths)?;
2445+
claim_overlay_path(
2446+
recipe_bundle_root,
2447+
&path,
2448+
recipe.text.as_bytes(),
2449+
claimed_paths,
2450+
)?;
24462451
std::fs::write(&path, &recipe.text)
24472452
.map_err(|error| PackageWorkflowError::Io(path.clone(), error))?;
24482453
easyconfigs.push(path);

‎src/patch_evolution.rs‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -500,8 +500,6 @@ mod tests {
500500
}
501501

502502
fn candidate(name: &str, version: &str, toolchain: (&str, &str), path: &str) -> Candidate {
503-
versionprefix: None,
504-
easyblock: None,
505503
Candidate {
506504
versionprefix: None,
507505
easyblock: None,

‎src/provides.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
//! depend on the parent bundle at its exact version.
1313
1414
use crate::domain::{Candidate, DepReq, ExtEntry};
15-
use std::collections::HashSet;
1615
use std::collections::HashMap;
16+
use std::collections::HashSet;
1717

1818
/// Marker embedded in `easyconfig_path` for a virtual extension provide.
1919
pub const EXT_PROVIDE_MARKER: &str = "#ext:";

0 commit comments

Comments
 (0)