Skip to content

Commit 7c13761

Browse files
refactor(metadata)!: move disabled to the top of formatted file props.
1 parent 509cb54 commit 7c13761

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
@@ -558,6 +558,10 @@ fn format_file_properties(props: &FileProps) -> impl Display + '_ {
558558
tags,
559559
} = props;
560560

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

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

0 commit comments

Comments
 (0)