Skip to content

Commit

Permalink
fix(rust): clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
prateekmedia committed Aug 28, 2024
1 parent 66b5016 commit fa9a404
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rust/src/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -628,10 +628,10 @@ impl CType<encoder_cfg> for EncoderConfig {

impl CType<word_list> for Vec<String> {
unsafe fn to_ctype(&self) -> word_list {
return word_list {
word_list {
words: string_to_c_chars(self.clone()),
len: self.len(),
capacity: self.capacity(),
};
}
}
}

0 comments on commit fa9a404

Please sign in to comment.