mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-05 17:19:42 +00:00
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.
This commit is contained in:
parent
9d79280929
commit
ca791ae4fa
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue