Skip to content

Commit 3d6280d

Browse files
author
Dilawar Singh
committed
chore: cargo fmt
1 parent 57e2b17 commit 3d6280d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

examples/sub.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
use usb_enumeration::{Event, Observer};
22

33
fn main() {
4-
let sub = Observer::new()
5-
.with_poll_interval(2)
6-
.subscribe();
4+
let sub = Observer::new().with_poll_interval(2).subscribe();
75

86
// when sub is dropped, the background thread will close
97
for event in sub.rx_event.iter() {

0 commit comments

Comments
 (0)