mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sys-process/below: remove unecessary code format and patch
The code format is unnecessary and the patch only addresses an "unused result" warning. Also add an empty line between ebuild phase functions. Signed-off-by: Florian Schmaus <flow@gentoo.org>
This commit is contained in:
@@ -262,14 +262,6 @@ DEPEND="
|
||||
|
||||
QA_FLAGS_IGNORED="usr/bin/below"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PV}-format.patch"
|
||||
)
|
||||
|
||||
src_compile() {
|
||||
cargo fmt --all -v --message-format human
|
||||
cargo_src_compile
|
||||
}
|
||||
src_test() {
|
||||
local skip=(
|
||||
--skip disable_disk_stat
|
||||
@@ -280,6 +272,7 @@ src_test() {
|
||||
)
|
||||
cargo_src_test --workspace below -- "${skip[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cargo_src_install --path below
|
||||
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
diff --git a/below/view/src/lib.rs b/below/view/src/lib.rs
|
||||
index e9889fad..6f064a2e 100644
|
||||
--- a/below/view/src/lib.rs
|
||||
+++ b/below/view/src/lib.rs
|
||||
@@ -225,7 +225,8 @@ pub fn set_active_screen(c: &mut Cursive, name: &str) {
|
||||
.get_mut()
|
||||
.screen_mut()
|
||||
.unwrap()
|
||||
- .take_focus(cursive::direction::Direction::none());
|
||||
+ .take_focus(cursive::direction::Direction::none())
|
||||
+ .ok();
|
||||
},
|
||||
)
|
||||
.expect("failed to find main_view_screens");
|
||||
Reference in New Issue
Block a user