Skip to content

Commit 0da80f8

Browse files
schellLegNeato
authored andcommitted
fmt
1 parent 60dcb82 commit 0da80f8

File tree

1 file changed

+6
-6
lines changed
  • crates/spirv-builder/src

1 file changed

+6
-6
lines changed

crates/spirv-builder/src/lib.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -352,8 +352,8 @@ impl SpirvBuilder {
352352
}
353353

354354
/// Sets the path of the "target specification" file.
355-
///
356-
/// For more info on "target specification" see
355+
///
356+
/// For more info on "target specification" see
357357
/// [this RFC](https://rust-lang.github.io/rfcs/0131-target-specification.html).
358358
#[must_use]
359359
pub fn target_spec(mut self, p: impl AsRef<Path>) -> Self {
@@ -806,13 +806,13 @@ fn invoke_rustc(builder: &SpirvBuilder) -> Result<PathBuf, SpirvBuilderError> {
806806

807807
// FIXME(eddyb) consider moving `target-specs` into `rustc_codegen_spirv_types`.
808808
// FIXME(eddyb) consider the `RUST_TARGET_PATH` env var alternative.
809-
cargo.arg("--target").arg(
810-
builder.path_to_target_spec.clone().unwrap_or_else(|| {
809+
cargo
810+
.arg("--target")
811+
.arg(builder.path_to_target_spec.clone().unwrap_or_else(|| {
811812
PathBuf::from(env!("CARGO_MANIFEST_DIR"))
812813
.join("target-specs")
813814
.join(format!("{}.json", builder.target))
814-
}),
815-
);
815+
}));
816816

817817
if let Some(default_features) = builder.shader_crate_features.default_features {
818818
if !default_features {

0 commit comments

Comments
 (0)