From b585b9dde9a4b28c50f05c461d0e900a11a862cf Mon Sep 17 00:00:00 2001 From: EdJoPaTo Date: Sat, 31 Oct 2020 21:17:13 +0100 Subject: [PATCH] style: remove some superfluous comments --- src/lib.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index e9c532a..9578e9e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -15,8 +15,6 @@ pub mod identifier; pub use self::flatten::flatten; -// https://docs.rs/tui/0.12.0/tui/widgets/index.html - #[derive(Debug, Clone)] pub struct TreeState { offset: usize, @@ -197,7 +195,6 @@ impl<'a> StatefulWidget for Tree<'a> { } else { visible .iter() - // TODO: use longest possible path, it does not need to be exactly the same .position(|o| o.identifier == state.selected) .unwrap_or(0) };