X-Git-Url: http://git.scottworley.com/tablify/blobdiff_plain/f9d0e394e4d7731775aa236386b895e2effad788..9321d710d6048b57691ff08a62c93c1c8e30a721:/src/lib.rs diff --git a/src/lib.rs b/src/lib.rs index fb55610..ac52b1f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -457,7 +457,7 @@ fn render_column_headers(config: &Config, columns: &[String]) -> HTML { /// * there's an i/o error while reading `input` /// * the log has invalid syntax: /// * an indented line with no preceding non-indented line -pub fn tablify(input: impl std::io::Read) -> Result { +pub fn tablify(input: R) -> Result { let (rows, config) = read_input(input)?; let columns = column_order(&config, &rows); Ok(HTML(format!(