mirror of
https://github.com/sharkdp/bat.git
synced 2025-02-21 20:38:44 +00:00
Add a Default implementation for PrettyPrinter
This commit is contained in:
parent
de6cb75f4b
commit
09fbabb0b8
@ -320,6 +320,12 @@ impl<'a> PrettyPrinter<'a> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
impl Default for PrettyPrinter<'_> {
|
||||||
|
fn default() -> Self {
|
||||||
|
Self::new()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// An input source for the pretty printer.
|
/// An input source for the pretty printer.
|
||||||
pub struct Input<'a> {
|
pub struct Input<'a> {
|
||||||
input: input::Input<'a>,
|
input: input::Input<'a>,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user