From 0055d2acbf046cb91682abd70bb2400a594c8a77 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Aillet Date: Wed, 24 Jan 2024 14:14:12 +0100 Subject: [PATCH] :bug: fix a compilation problem with Rust 1.70 --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/utils.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6584fb4..235898c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -633,7 +633,7 @@ checksum = "0688c2a7f92e427f44895cd63841bff7b29f8d7a1648b9e7e07a4a365b2e1257" [[package]] name = "doggy" -version = "0.5.0" +version = "0.5.1" dependencies = [ "ansi-to-tui", "better-panic", diff --git a/Cargo.toml b/Cargo.toml index c5d2f80..e988adf 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "doggy" -version = "0.5.0" +version = "0.5.1" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/src/utils.rs b/src/utils.rs index d682567..0bfc199 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -178,7 +178,7 @@ where f.render_widget(lg, pg_area); } -pub fn help_screen(f: &mut Frame<'_>, component: &Component) { +pub(crate) fn help_screen(f: &mut Frame<'_>, component: &Component) { let area = default_layout(f.size())[1]; let block = Block::default()