From d5f75d82e2ba1d4bede3f5b049cc5e0890210a60 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Mon, 31 Oct 2022 01:37:43 +0000 Subject: [PATCH] Provide an MSRV of 1.48 --- .github/workflows/build.yml | 5 ++++- src/cli.rs | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2ad6ccd..4763a83 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,10 +7,13 @@ jobs: strategy: matrix: platform: [ ubuntu-latest, macos-latest, windows-latest ] - toolchain: [ stable, beta ] + toolchain: [ stable, 1.48.0 ] include: - toolchain: stable check-fmt: true + exclude: + - platform: macos-latest + toolchain: 1.48.0 runs-on: ${{ matrix.platform }} steps: - name: Checkout source code diff --git a/src/cli.rs b/src/cli.rs index 0638b95..99a4378 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -181,7 +181,7 @@ pub(crate) async fn poll_for_user_input( io::stdout().flush().unwrap(); // Without flushing, the `>` doesn't print let mut line = String::new(); if let Err(e) = io::stdin().read_line(&mut line) { - break println!("ERROR: {e:#}"); + break println!("ERROR: {}", e); } if line.len() == 0 { -- 2.39.5