fixed one failing test

This commit is contained in:
Mikayla Maki 2022-09-13 11:40:23 -07:00
parent df59b28aaf
commit fa8bac9714
3 changed files with 12 additions and 2 deletions

View file

@ -38,6 +38,10 @@ impl PaneGroup {
}
}
/// Returns:
/// - Ok(true) if it found and removed a pane
/// - Ok(false) if it found but did not remove the pane
/// - Err(_) if it did not find the pane
pub fn remove(&mut self, pane: &ViewHandle<Pane>) -> Result<bool> {
match &mut self.root {
Member::Pane(_) => Ok(false),