Skip to content

Commit 3caf7c3

Browse files
Fix use of impl_wrapper
1 parent 55cac85 commit 3caf7c3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ts-rs/src/tokio.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ use tokio::sync::{Mutex, OnceCell, RwLock};
22

33
use super::{impl_wrapper, TypeVisitor, TS};
44

5-
impl_wrapper!(impl<T: TS> TS for Mutex<T>);
6-
impl_wrapper!(impl<T: TS> TS for OnceCell<T>);
7-
impl_wrapper!(impl<T: TS> TS for RwLock<T>);
5+
impl_wrapper!(for Mutex<T>, generics: T: TS);
6+
impl_wrapper!(for OnceCell<T>, generics: T: TS);
7+
impl_wrapper!(for RwLock<T>, generics: T: TS);

0 commit comments

Comments
 (0)