From ca791ae4faa46b7abf2d2004816fa9eb713bf4b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 23 Jan 2019 16:11:52 +0200 Subject: [PATCH] Use an empty enum for the custom tag in the test There's no point in allowing to have values of it, it's only a marker type. --- gstreamer/src/tags.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gstreamer/src/tags.rs b/gstreamer/src/tags.rs index 3a5844228..2e95edaa5 100644 --- a/gstreamer/src/tags.rs +++ b/gstreamer/src/tags.rs @@ -1014,7 +1014,7 @@ mod tests { fn test_custom_tags() { ::init().unwrap(); - struct MyCustomTag; + enum MyCustomTag {}; impl<'a> Tag<'a> for MyCustomTag { type TagType = &'a str;