Skip to content

Commit

Permalink
fix: fix compiler error with serde enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
zabackary committed Jul 8, 2024
1 parent 29bf924 commit 0b28bec
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "daktronics-allsport-5000"
version = "0.2.0"
version = "0.2.1"
authors = ["zabackary"]
description = "A Rust implementation of decoders for the Daktronics All Sport 5000's serial output"
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion src/sports.rs
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ loop {
}

#[cfg(feature = "serde")]
impl<DS: rtd_state::data_source::RTDStateDataSource> serde::Serialize for [<$ident_name Sport>]<DS> {
impl<DS: $crate::rtd_state::data_source::RTDStateDataSource> serde::Serialize for [<$ident_name Sport>]<DS> {
// since the caller might have 0 arguments, imports might
// not be used
#[allow(unused)]
Expand Down

0 comments on commit 0b28bec

Please sign in to comment.