mirror of
https://github.com/xazukx/ts-rs.git
synced 2026-11-23 23:20:24 +00:00
Fix warning for unused dep
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user