Skip to content

Commit 9801c37

Browse files
committed
style: fix formatting in memory leak check example
1 parent 34b4f3f commit 9801c37

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

examples/15_memory_leak_check.rs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,10 @@ fn test_capture_with_filter(filter_type: FilterType, duration: &Duration) {
328328

329329
#[cfg(feature = "macos_15_0")]
330330
if matches!(filter_type, FilterType::FullConfigWithMic) {
331-
stream.add_output_handler(SharedHandler(handler.clone()), SCStreamOutputType::Microphone);
331+
stream.add_output_handler(
332+
SharedHandler(handler.clone()),
333+
SCStreamOutputType::Microphone,
334+
);
332335
}
333336

334337
if let Err(e) = stream.start_capture() {
@@ -351,9 +354,7 @@ fn test_capture_with_filter(filter_type: FilterType, duration: &Duration) {
351354
fn test_configuration_variations() {
352355
let configs = [
353356
// Minimal config
354-
SCStreamConfiguration::new()
355-
.with_width(64)
356-
.with_height(64),
357+
SCStreamConfiguration::new().with_width(64).with_height(64),
357358
// Different pixel formats
358359
SCStreamConfiguration::new()
359360
.with_width(128)

0 commit comments

Comments
 (0)