Fix warning for unused dep

This commit is contained in:
Heliozoa
2023-08-08 05:48:42 +03:00
parent e680d2f7d7
commit 0a2cf24748
+2 -1
View File
@@ -2,7 +2,6 @@
use std::time::Instant;
use serde::Serialize;
use ts_rs::TS;
struct Unsupported<T>(T);
@@ -45,6 +44,8 @@ fn newtype() {
fn enum_newtype_representations() {
// regression test for https://github.com/Aleph-Alpha/ts-rs/issues/126
use serde::Serialize;
#[derive(Serialize)]
struct S;