style: remove some superfluous comments

This commit is contained in:
EdJoPaTo
2020-10-31 21:17:13 +01:00
parent 7e4709c67e
commit b585b9dde9
-3
View File
@@ -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)
};