Skip to content

Commit

Permalink
Remove printlns from ffi
Browse files Browse the repository at this point in the history
  • Loading branch information
Brendan Molloy committed Nov 25, 2019
1 parent 493334a commit d319796
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions divvunspell/src/speller/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -419,9 +419,7 @@ pub(crate) mod ffi {
>,
#[marshal(cursed::StrMarshaler)] word: &str,
) -> Vec<Suggestion> {
let suggestions = speller.suggest(word);
println!("{:?} {:?}", &suggestions, &suggestions as *const _);
suggestions
speller.suggest(word)
}

#[cthulhu::invoke(return_marshaler = "SuggestionVecMarshaler")]
Expand All @@ -448,9 +446,7 @@ pub(crate) mod ffi {
#[marshal(cursed::ArcRefMarshaler::<HfstZipSpeller>)] speller: Arc<HfstZipSpeller>,
#[marshal(cursed::StrMarshaler)] word: &str,
) -> Vec<Suggestion> {
let suggestions = speller.suggest(word);
println!("{:?} {:?}", &suggestions, &suggestions as *const _);
suggestions
speller.suggest(word)
}

#[cthulhu::invoke(return_marshaler = "SuggestionVecMarshaler")]
Expand Down

0 comments on commit d319796

Please sign in to comment.