Skip to content

Commit f6c0d0a

Browse files
Alexandra Iordachealxiord
authored andcommitted
fix clippy lints
Signed-off-by: Alexandra Iordache <[email protected]>
1 parent 3d03fa2 commit f6c0d0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/endpoint.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ impl GenericSubscriber for CounterSubscriber {
3434
fn test_endpoint() {
3535
let mut event_manager = EventManager::<Box<dyn GenericSubscriber + Send>>::new().unwrap();
3636
let endpoint = event_manager.remote_endpoint();
37-
let sub = Box::new(CounterSubscriber::default());
37+
let sub = Box::<CounterSubscriber>::default();
3838

3939
let run_count = Arc::new(AtomicU64::new(0));
4040
let keep_running = Arc::new(AtomicBool::new(true));

0 commit comments

Comments
 (0)