Skip to content

FilmCraft: An open-source, nonlinear video editor written by scratch in pure Rust

Format the pixel-aspect test (cargo fmt)

Brandon Thomasa46d197c1ec6
diff --git a/crates/matroska/src/track.rs b/crates/matroska/src/track.rs
index 6a58e6e36..ecdecabe8 100644
--- a/crates/matroska/src/track.rs
+++ b/crates/matroska/src/track.rs
@@ -370,13 +370,7 @@ mod aspect_overflow_tests {
#[test]
fn ordinary_pixel_aspect_is_unchanged() {
- let video = VideoInfo {
- pixel_width: 1920,
- pixel_height: 1080,
- display_width: Some(1440),
- display_height: Some(1080),
- ..Default::default()
- };
+ let video = VideoInfo { pixel_width: 1920, pixel_height: 1080, display_width: Some(1440), display_height: Some(1080), ..Default::default() };
assert_eq!(video.pixel_aspect(), (3, 4));
}
}