main
tag: v0.1.0
tag: v0.10.0
tag: v0.11.0
tag: v0.12.0
tag: v0.13.0
tag: v0.14.0
tag: v0.15.0
tag: v0.16.0
tag: v0.17.0
tag: v0.18.0
tag: v0.19.0
tag: v0.19.1
tag: v0.2.0
tag: v0.21.0
tag: v0.22.0
tag: v0.23.0
tag: v0.24.0
tag: v0.25.0
tag: v0.26.0
tag: v0.26.1
tag: v0.27.0
tag: v0.27.1
tag: v0.27.3
tag: v0.27.5
tag: v0.28.0
tag: v0.28.1
tag: v0.28.2
tag: v0.29.1
tag: v0.3.0
tag: v0.31.0
tag: v0.32.0
tag: v0.33.0
tag: v0.35.0
tag: v0.36.0
tag: v0.37.0
tag: v0.38.0
tag: v0.39.0
tag: v0.4.0
tag: v0.40.0
tag: v0.41.0
tag: v0.41.1
tag: v0.41.2
tag: v0.42.0
tag: v0.43.0
tag: v0.44.0
tag: v0.44.2
tag: v0.5.0
tag: v0.6.0
tag: v0.6.1
tag: v0.7.0
tag: v0.8.0
tag: v0.8.2
tag: v0.9.0
Files
Commits
Tags
Notes
Issues
0.26.1: the four-field guard destructures instead of binding
clippy's needless_late_init family rejects a _-prefixed binding with no
side effect, and Bento's preflight runs -D warnings, so 0.26.0 never
published. Destructuring names every field and stops compiling when a fifth
arrives, which is what the guard was for, without binding anything.
Co-Authored-By
Claude Opus 5 (1M context) <noreply@anthropic.com>
2 files changed,
+10 insertions,
-7 deletions
1
1
[package]
2
2
name = "makeover-layout"
3
-
version = "0.26.0"
3
+
version = "0.26.1"
4
4
edition = "2024"
5
5
# One copy of this vocabulary per dependency graph, enforced by cargo rather
6
6
# than by remembering. Two versions of a description layer in one build means
3674
3674
// themselves, and the absence of it is what let a month strip render
3675
3675
// under a wall clock. A fifth field still has to argue, and "the
3676
3676
// renderer would find it handy" is still not the argument.
3677
-
let _exhaustive = Track {
3678
-
span: day.span,
3679
-
slot: day.slot,
3680
-
tick: day.tick,
3681
-
unit: day.unit,
3682
-
};
3677
+
// Destructured rather than rebuilt: this is the form that names every
3678
+
// field and stops compiling when a fifth arrives, without binding
3679
+
// anything a lint has to forgive.
3680
+
let Track {
3681
+
span: _,
3682
+
slot: _,
3683
+
tick: _,
3684
+
unit: _,
3685
+
} = day;
3683
3686
}
3684
3687
3685
3688
#[test]