diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 81b07d4..0fbd4dc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ jobs: strategy: matrix: os: ["macos-latest", "ubuntu-latest", "windows-latest"] - rust: ["beta", "stable"] + rust: ["1.56", "beta", "stable"] runs-on: ${{ matrix.os }} diff --git a/src/lib.rs b/src/lib.rs index 8118277..6a3b098 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -40,7 +40,7 @@ impl Display for StrSimError { StrSimError::DifferentLengthArgs => "Differing length arguments provided", }; - write!(fmt, "{text}") + write!(fmt, "{}", text) } }