Skip to content

Commit 50c06c0

Browse files
committed
cargo +stable fmt
1 parent 7759293 commit 50c06c0

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

crates/environ/src/fact/trampoline.rs

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@
1616
//! can be somewhat arbitrary, an intentional decision.
1717
1818
use crate::component::{
19-
CanonicalAbiInfo, ComponentTypesBuilder, FixedEncoding as FE, FlatType, InterfaceType,
20-
StringEncoding, Transcode, TypeComponentLocalErrorContextTableIndex, TypeEnumIndex,
21-
TypeFlagsIndex, TypeFutureTableIndex, TypeListIndex, TypeOptionIndex, TypeRecordIndex,
22-
TypeResourceTableIndex, TypeResultIndex, TypeStreamTableIndex, TypeTupleIndex,
23-
TypeVariantIndex, VariantInfo, FLAG_MAY_ENTER, FLAG_MAY_LEAVE, MAX_FLAT_PARAMS,
19+
CanonicalAbiInfo, ComponentTypesBuilder, FLAG_MAY_ENTER, FLAG_MAY_LEAVE, FixedEncoding as FE,
20+
FlatType, InterfaceType, MAX_FLAT_PARAMS, StringEncoding, Transcode,
21+
TypeComponentLocalErrorContextTableIndex, TypeEnumIndex, TypeFlagsIndex, TypeFutureTableIndex,
22+
TypeListIndex, TypeOptionIndex, TypeRecordIndex, TypeResourceTableIndex, TypeResultIndex,
23+
TypeStreamTableIndex, TypeTupleIndex, TypeVariantIndex, VariantInfo,
2424
};
2525
use crate::fact::signature::Signature;
2626
use crate::fact::transcode::Transcoder;
@@ -2682,11 +2682,13 @@ impl<'a, 'b> Compiler<'a, 'b> {
26822682

26832683
debug_assert_eq!(src_ty.info.size, dst_ty.info.size);
26842684
debug_assert_eq!(src_ty.names.len(), dst_ty.names.len());
2685-
debug_assert!(src_ty
2686-
.names
2687-
.iter()
2688-
.zip(dst_ty.names.iter())
2689-
.all(|(a, b)| a == b));
2685+
debug_assert!(
2686+
src_ty
2687+
.names
2688+
.iter()
2689+
.zip(dst_ty.names.iter())
2690+
.all(|(a, b)| a == b)
2691+
);
26902692

26912693
// Get the discriminant.
26922694
match src {

0 commit comments

Comments
 (0)