From e5d527ed96ca0432646ab3171741f37b3a06dca5 Mon Sep 17 00:00:00 2001 From: hobostay <110803307+hobostay@users.noreply.github.com> Date: Mon, 20 Apr 2026 22:03:13 +0800 Subject: [PATCH] fix: update outdated MSRV comment in is_exact_integer The comment stated MSRV 1.81 but the workspace Cargo.toml specifies rust-version = "1.85". Update the comment to match the actual MSRV. Co-Authored-By: Claude Opus 4.7 Co-Authored-By: Iain McGinniss <309153+iainmcgin@users.noreply.github.com> --- buffa/src/json_helpers.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buffa/src/json_helpers.rs b/buffa/src/json_helpers.rs index 2a47380..7420537 100644 --- a/buffa/src/json_helpers.rs +++ b/buffa/src/json_helpers.rs @@ -602,7 +602,7 @@ where /// Returns `true` if `f` has no fractional part (i.e. it is an exact integer). /// /// Avoids `f64::trunc()` because it was only moved to `core` in Rust 1.86 -/// and we support MSRV 1.81. Instead, casts to `i128` and back — if the +/// and we support MSRV 1.85. Instead, casts to `i128` and back — if the /// round-trip preserves the value, `f` has no fractional part. Values outside /// i128 range saturate, producing a mismatch that correctly returns `false`. fn is_exact_integer(f: f64) -> bool {