We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2227a28 + fabde85 commit b3b3ed6Copy full SHA for b3b3ed6
wsdom-core/src/serialize.rs
@@ -66,11 +66,6 @@ impl<'a> UseInJsCode for RawCodeImmediate<'a> {
66
///
67
/// For example, `ToJs<JsNumber>` means serializable to the same type that
68
/// `JsNumber` serializes to.
69
-pub trait ToJs<JsType>
70
-where
71
- Self: UseInJsCode,
72
- JsType: ?Sized,
73
-{
74
-}
+pub trait ToJs<JsType>: UseInJsCode {}
75
76
-impl<T: ?Sized> ToJs<T> for T where T: UseInJsCode {}
+impl<T> ToJs<T> for T where T: UseInJsCode {}
0 commit comments