mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
zet: update to 2.0.1.
This commit is contained in:
parent
f15b006deb
commit
52047f339f
2 changed files with 3 additions and 27 deletions
|
@ -1,23 +0,0 @@
|
||||||
From b6a0c67f6ac76fb7bf8234951678b77fbac12d76 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Yarrow Angelweed <yarrow.angelweed@gmail.com>
|
|
||||||
Date: Wed, 6 Mar 2024 12:17:38 -0500
|
|
||||||
Subject: [PATCH] Take nightly clippy advice
|
|
||||||
|
|
||||||
---
|
|
||||||
src/help.rs | 3 +--
|
|
||||||
1 file changed, 1 insertion(+), 2 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/src/help.rs b/src/help.rs
|
|
||||||
index 23c79aa..0e8c3c3 100644
|
|
||||||
--- a/src/help.rs
|
|
||||||
+++ b/src/help.rs
|
|
||||||
@@ -123,8 +123,7 @@ impl<'a> Section<'a> {
|
|
||||||
Ok(0)
|
|
||||||
}
|
|
||||||
fn next_line_help_indent(&self) -> &'a str {
|
|
||||||
- let max_indent =
|
|
||||||
- self.entries.iter().map(|e| e.item.indented_by()).fold(0, std::cmp::Ord::max);
|
|
||||||
+ let max_indent = self.entries.iter().map(|e| e.item.indented_by()).fold(0, Ord::max);
|
|
||||||
let indent_len = (max_indent + 4).min(BLANKS.len());
|
|
||||||
&BLANKS[..indent_len]
|
|
||||||
}
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'zet'
|
# Template file for 'zet'
|
||||||
pkgname=zet
|
pkgname=zet
|
||||||
version=1.0.0
|
version=2.0.1
|
||||||
revision=2
|
revision=1
|
||||||
build_style=cargo
|
build_style=cargo
|
||||||
short_desc="CLI to find union, intersection, set difference, etc of files"
|
short_desc="CLI to find union, intersection, set difference, etc of files"
|
||||||
maintainer="icp <pangolin@vivaldi.net>"
|
maintainer="icp <pangolin@vivaldi.net>"
|
||||||
|
@ -9,5 +9,4 @@ license="Apache-2.0"
|
||||||
homepage="https://github.com/yarrow/zet"
|
homepage="https://github.com/yarrow/zet"
|
||||||
changelog="https://raw.githubusercontent.com/yarrow/zet/main/CHANGELOG.md"
|
changelog="https://raw.githubusercontent.com/yarrow/zet/main/CHANGELOG.md"
|
||||||
distfiles="https://github.com/yarrow/zet/archive/refs/tags/v${version}.tar.gz"
|
distfiles="https://github.com/yarrow/zet/archive/refs/tags/v${version}.tar.gz"
|
||||||
checksum=792a1a1de73bf4145ccaa71f8e6bb34b62e690270a432c4de4d8639e1a741b5b
|
checksum=a6f431927c16b22516e78a9ec7864d99e2676abae3acb46101df1c287e16f267
|
||||||
make_check=no # https://github.com/yarrow/zet/commit/8e21b96ec73979adcfb92550906e8d49fe46e75f
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue