Skip to content

Commit 6a2c7a1

Browse files
committed
Fix cargo fmt warnings.
1 parent f22fa95 commit 6a2c7a1

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

cargo-dist/src/init/apply_dist/artifacts.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ fn apply_artifacts_archives(
9696
#[cfg(test)]
9797
mod test {
9898
use super::*;
99-
use crate::{CompressionImpl, ChecksumStyle, ZipStyle};
10099
use crate::config::LibraryStyle;
100+
use crate::{ChecksumStyle, CompressionImpl, ZipStyle};
101101
use axoasset::toml_edit::{self, DocumentMut, Item, Table};
102102
use miette::IntoDiagnostic;
103103
use pretty_assertions::{assert_eq, assert_ne};

cargo-dist/src/init/apply_dist/installers.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -310,9 +310,9 @@ fn apply_installers_pkg(installers_table: &mut toml_edit::Table, pkg: &PkgInstal
310310
#[cfg(test)]
311311
mod test {
312312
use super::*;
313-
use crate::{CompressionImpl, ChecksumStyle, ZipStyle};
314313
use crate::config::LibraryStyle;
315314
use crate::init::apply_dist::InstallPathStrategy;
315+
use crate::{ChecksumStyle, CompressionImpl, ZipStyle};
316316
use miette::IntoDiagnostic;
317317
use pretty_assertions::{assert_eq, assert_ne};
318318

@@ -426,7 +426,6 @@ always-use-latest-updater = true
426426
assert_eq!(expected, toml_text);
427427
}
428428

429-
430429
#[test]
431430
fn apply_installers_complex() {
432431
let expected = r#"
@@ -471,7 +470,6 @@ identifier = "pkg-identifier"
471470
install-location = "pkg-install-location"
472471
"#;
473472

474-
475473
let installers = Some(InstallerLayer {
476474
common: CommonInstallerLayer {
477475
install_path: Some(vec![

0 commit comments

Comments
 (0)