summaryrefslogtreecommitdiffstats
path: root/src/pretty_printer.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/pretty_printer.rs')
-rw-r--r--src/pretty_printer.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pretty_printer.rs b/src/pretty_printer.rs
index 89745eec..cdf22df9 100644
--- a/src/pretty_printer.rs
+++ b/src/pretty_printer.rs
@@ -338,7 +338,7 @@ impl<'a> Input<'a> {
/// A new input from bytes.
pub fn from_bytes(bytes: &'a [u8]) -> Self {
- Input::from_reader(bytes).into()
+ Input::from_reader(bytes)
}
/// A new input from STDIN.