Skip to content

Commit 1bb84e2

Browse files
refactor(metadata)!: move disabled to the top of formatted file props.
1 parent 3e59762 commit 1bb84e2

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

559+
if let Some(is_disabled) = is_disabled {
560+
write_prop_val(DISABLED_IDENT, is_disabled, Display::fmt, f)?;
561+
}
562+
559563
if let Some(implementation_status) = implementation_status {
560564
write_prop_val(
561565
ImplementationStatus::IDENT,
@@ -589,10 +593,6 @@ fn format_file_properties(props: &FileProps) -> impl Display + '_ {
589593
)?;
590594
}
591595

592-
if let Some(is_disabled) = is_disabled {
593-
write_prop_val(DISABLED_IDENT, is_disabled, Display::fmt, f)?;
594-
}
595-
596596
Ok(())
597597
})
598598
}

0 commit comments

Comments
 (0)