From: Scott Worley Date: Wed, 16 Jul 2025 10:06:40 +0000 (-0700) Subject: Appease clippy::impl_trait_in_params X-Git-Url: http://git.scottworley.com/tablify/commitdiff_plain/9321d710d6048b57691ff08a62c93c1c8e30a721?hp=f9d0e394e4d7731775aa236386b895e2effad788 Appease clippy::impl_trait_in_params --- 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!(