Skip to content

Commit

Permalink
Merge pull request #22 from auxo86/master
Browse files Browse the repository at this point in the history
Would you please add serialization support of struct Suggestion for us ?
  • Loading branch information
reneklacan authored Feb 7, 2022
2 parents 74d39c1 + 78884cf commit d90d47a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/suggestion.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
use std::cmp::Ordering;

#[derive(Debug, Clone)]
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
pub struct Suggestion {
pub term: String,
pub distance: i64,
Expand Down

0 comments on commit d90d47a

Please sign in to comment.