From f739106be2f858bcc83c5cf6f9aef10695fefad9 Mon Sep 17 00:00:00 2001 From: Azriel Hoh Date: Tue, 30 Jan 2024 08:00:58 +1300 Subject: [PATCH] Address clippy lints. --- crate/rt_model_native/src/output/cli_md_presenter.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crate/rt_model_native/src/output/cli_md_presenter.rs b/crate/rt_model_native/src/output/cli_md_presenter.rs index d001e8108..31c957646 100644 --- a/crate/rt_model_native/src/output/cli_md_presenter.rs +++ b/crate/rt_model_native/src/output/cli_md_presenter.rs @@ -220,7 +220,7 @@ where Ok(()) } - async fn list_bullet_write(self: &mut Self, style_white: &Style) -> Result<(), std::io::Error> { + async fn list_bullet_write(&mut self, style_white: &Style) -> Result<(), std::io::Error> { self.colorize_maybe("*", style_white).await?; self.output.writer.write_all(b" ").await?; @@ -228,7 +228,7 @@ where } async fn list_number_write( - self: &mut Self, + &mut self, style_white: &Style, index: usize, number_column_count: usize,