diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 156a474..bac2507 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -52,7 +52,7 @@ jobs: # Sometimes old rust versions don't yet have the lints (allow unknown) or don't have fixes in lints (false positives -> don't error, just warn). # When a certain distro is a target look up its version: https://repology.org/project/rust/versions - os: ubuntu-latest - toolchain: 1.56.1 + toolchain: 1.60.0 clippyargs: -A unknown-lints features: --all-features steps: diff --git a/Cargo.toml b/Cargo.toml index 53843c5..bd6518e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ license = "MIT" repository = "https://github.com/EdJoPaTo/tui-rs-tree-widget" authors = ["EdJoPaTo "] edition = "2021" -rust-version = "1.56.1" +rust-version = "1.60.0" keywords = ["tui", "terminal", "tree", "widget"] categories = ["command-line-interface"] include = ["src/**/*", "README.md"] diff --git a/examples/example.rs b/examples/example.rs index df1ba17..f63cbaf 100644 --- a/examples/example.rs +++ b/examples/example.rs @@ -61,7 +61,7 @@ fn main() -> Result<(), Box> { terminal.show_cursor()?; if let Err(err) = res { - println!("{:?}", err); + println!("{err:?}"); } Ok(())