mirror of
https://github.com/sharkdp/bat.git
synced 2026-10-26 20:16:33 +00:00
Add OutputHandle enum to use instead of &mut dyn io::Write
This commit is contained in:
1 parent
d295b3a394
commit
103a2f0d9b
4 files changed
+107
-52
No files matched your search
@@ -7,6 +7,8 @@ pub enum Error {
|
||||
#[error(transparent)]
|
||||
Io(#[from] ::std::io::Error),
|
||||
#[error(transparent)]
|
||||
Fmt(#[from] ::std::fmt::Error),
|
||||
#[error(transparent)]
|
||||
SyntectError(#[from] ::syntect::Error),
|
||||
#[error(transparent)]
|
||||
SyntectLoadingError(#[from] ::syntect::LoadingError),
|
||||
|
||||
Reference in new issue
Block a user