diff --git a/CHANGELOG.md b/CHANGELOG.md index 38fc805..44f84b7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,7 +8,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -(no changes yet) +### tacacs-plus + +#### Fixed + +- Use `_` instead of range pattern to prevent breakage on older Rust versions (<=1.74) ## [0.3.1] - 2024-09-11 diff --git a/tacacs-plus/src/inner.rs b/tacacs-plus/src/inner.rs index ea31951..bca8006 100644 --- a/tacacs-plus/src/inner.rs +++ b/tacacs-plus/src/inner.rs @@ -272,7 +272,7 @@ where // if there's data still available, the connection is still open, although // this shouldn't happen in the context of TACACS+ - Ok(1..) => Ok(true), + Ok(_) => Ok(true), }, // nothing ready to read -> connection is still open