We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc76a81 commit 16bbb54Copy full SHA for 16bbb54
1 file changed
xtask/src/main.rs
@@ -133,12 +133,12 @@ fn render_dependency_table(metadata: &Metadata) -> String {
133
// valid semver, but fall back to string order if parsing ever fails so the
134
// output stays deterministic.
135
rows.sort_unstable_by(|a, b| {
136
- a.0.cmp(b.0).then_with(
137
- || match (semver::Version::parse(a.1), semver::Version::parse(b.1)) {
+ a.0.cmp(b.0).then_with(|| {
+ match (semver::Version::parse(a.1), semver::Version::parse(b.1)) {
138
(Ok(va), Ok(vb)) => va.cmp(&vb),
139
_ => a.1.cmp(b.1),
140
- },
141
- )
+ }
+ })
142
});
143
144
let mut table = String::from("| Crate | Version | License |\n|-------|---------|---------|\n");
0 commit comments