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:
Florian Schmaus
2022-12-19 12:03:12 +01:00
parent 7e7490c694
commit c5d7989ea0
2 changed files with 1 additions and 22 deletions

View File

@@ -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

View File

@@ -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");