mirror of
https://github.com/house-of-vanity/mystem-rs.git
synced 2026-11-08 22:48:49 +00:00
Fix warnings.
This commit is contained in:
1 parent
35a177f1d2
commit
16118ae6db
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -1,5 +1,6 @@
|
||||
extern crate mystem;
|
||||
|
||||
#[allow(unused_must_use)]
|
||||
fn main() -> Result<(), mystem::AppError> {
|
||||
let mut instance = mystem::MyStem::new()?;
|
||||
for stem in instance.stemming("Связался с лучшим - подохни как все.".into())?
|
||||
@@ -7,7 +8,6 @@ fn main() -> Result<(), mystem::AppError> {
|
||||
println!("{} is a lexeme of {}", stem.lex, stem.text)
|
||||
}
|
||||
|
||||
#[allow(unused_must_use)]
|
||||
instance.terminate();
|
||||
Ok(())
|
||||
}
|
||||
Reference in new issue
Block a user