Skip to content

Commit d34522c

Browse files
refactor(metadata)!: move disabled to the top of formatted file props.
1 parent 96ea124 commit d34522c

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

moz-webgpu-cts/src/wpt/metadata.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -559,6 +559,10 @@ fn format_file_properties(props: &FileProps) -> impl Display + '_ {
559559
tags,
560560
} = props;
561561

562+
if let Some(disabled) = disabled {
563+
write_prop_val(DISABLED_IDENT, disabled, Display::fmt, f)?;
564+
}
565+
562566
if let Some(implementation_status) = implementation_status {
563567
write_prop_val(
564568
ImplementationStatus::IDENT,
@@ -592,10 +596,6 @@ fn format_file_properties(props: &FileProps) -> impl Display + '_ {
592596
)?;
593597
}
594598

595-
if let Some(disabled) = disabled {
596-
write_prop_val(DISABLED_IDENT, disabled, Display::fmt, f)?;
597-
}
598-
599599
Ok(())
600600
})
601601
}

0 commit comments

Comments
 (0)