Skip to content

Commit

Permalink
Revert new nightly.
Browse files Browse the repository at this point in the history
  • Loading branch information
finnbear committed Sep 20, 2024
1 parent b80a9f0 commit deb015f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
# `i686-unknown-linux-gnu` so we just need to check this page for a
# compatible nightly:
# https://rust-lang.github.io/rustup-components-history/mips64-unknown-linux-gnuabi64.html
toolchain: nightly-2024-09-17
toolchain: nightly-2023-04-25
override: true
components: rustfmt, miri
- name: Lint
Expand Down
1 change: 1 addition & 0 deletions src/serde/ser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ impl LazyEncoder {
macro_rules! specify {
($wrapper:ident, $variant:ident) => {{
let lazy = &mut *$wrapper.lazy;
#[rustfmt::skip]
match lazy {
// Check if it's already the correct encoder. This results in 1 branch in the hot path.
LazyEncoder::Specified { specified: SpecifiedEncoder::$variant(_), .. } => (),
Expand Down

0 comments on commit deb015f

Please sign in to comment.