From 67c298bd70f33607ec9a7075900ece8e2f1142dc Mon Sep 17 00:00:00 2001 From: Ryan Lopopolo Date: Sun, 13 Apr 2025 20:57:03 -0700 Subject: [PATCH 1/2] Address `clippy::unnecessary-semicolon` lint violation Fixes CI failure on trunk with new rust stable https://github.com/artichoke/strftime-ruby/actions/runs/14346244360/job/40216512211 --- src/format/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/format/mod.rs b/src/format/mod.rs index 20bc7ba3..e3ad7934 100644 --- a/src/format/mod.rs +++ b/src/format/mod.rs @@ -882,7 +882,7 @@ impl<'t, 'f, T: CheckedTime> TimeFormatter<'t, 'f, T> { cursor.next(); } _ => {} - }; + } } // Parse spec From 9ad7c918b13a9f8baf29ee32be39b1a6d23508b6 Mon Sep 17 00:00:00 2001 From: Ryan Lopopolo Date: Sun, 13 Apr 2025 21:31:05 -0700 Subject: [PATCH 2/2] Update rust_fmt_argument_max_padding.rs --- src/tests/rust_fmt_argument_max_padding.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests/rust_fmt_argument_max_padding.rs b/src/tests/rust_fmt_argument_max_padding.rs index 223d427d..b12cc614 100644 --- a/src/tests/rust_fmt_argument_max_padding.rs +++ b/src/tests/rust_fmt_argument_max_padding.rs @@ -104,7 +104,7 @@ fn test_format_specifiers_large_width_success() { ); } _ => panic!("Output not properly quoted for specifier '{spec}': {output}"), - }; + } } }