make it a library crate

This commit is contained in:
Sebastian Hugentobler 2024-05-09 08:58:45 +02:00
parent 93aeb80c56
commit 603c2fbe48
Signed by: shu
GPG key ID: BB32CF3CA052C2F0
4 changed files with 75 additions and 71 deletions

View file

@ -50,7 +50,7 @@ impl Feed {
}
Ok(Event::Eof) => break,
Ok(e) => writer.write_event(e)?,
Err(e) => (),
Err(e) => return Err(e)?,
}
}
let result = writer.into_inner().into_inner();