From 5afa594ed846ab9317072adbf4cbc53ac8a8ec84 Mon Sep 17 00:00:00 2001 From: qkzk Date: Sun, 5 Nov 2023 14:53:06 +0100 Subject: select prev don't return a result --- src/tab.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/tab.rs') diff --git a/src/tab.rs b/src/tab.rs index 5a31edc..369e3eb 100644 --- a/src/tab.rs +++ b/src/tab.rs @@ -543,7 +543,8 @@ impl Tab { /// Select the previous sibling of the current node. pub fn select_prev(&mut self) -> Result<()> { - self.tree.select_prev() + self.tree.select_prev(); + Ok(()) } /// Select the next sibling of the current node. -- cgit v1.2.3