AMythicDev / minus

An asynchronous, runtime data feedable terminal paging library for Rust
https://crates.io/crates/minus/
Apache License 2.0
321 stars 23 forks source link

remove 'anyhow' and unused Error structs #14

Closed danieleades closed 3 years ago

danieleades commented 3 years ago

closes #13

danieleades commented 3 years ago

i also fixed a couple of typos and rustdoc warnings along the way...

danieleades commented 3 years ago

by the way, I'm by no means convinced that this pull request should definitely be merged. Perhaps type erasure (courtesy of anyhow) is a perfectly reasonable approach here. Generally it should only be used in 'application-style' crates, but I guess some discretion makes sense too.

AMythicDev commented 3 years ago

Thanks a lot for the PR. I had used the anyhow crate because I thought the pager, although a library, works like a binary. Anyway, I am fine with these changes. Thanks again