style: Applied formatting to all files

This commit is contained in:
2024-11-15 12:50:14 -07:00
parent 6baef469c8
commit 959b60de32
6 changed files with 75 additions and 65 deletions
+4 -4
View File
@@ -5,14 +5,14 @@ Tree widget [`Tree`] is generated with [`TreeItem`]s (which itself can contain [
The user interaction state (like the current selection) is stored in the [`TreeState`].
*/
use std::collections::HashSet;
use std::fmt::Display;
use std::hash::Hash;
use ratatui::buffer::Buffer;
use ratatui::layout::Rect;
use ratatui::style::Style;
use ratatui::text::ToText;
use ratatui::widgets::{Block, Scrollbar, ScrollbarState, StatefulWidget, Widget};
use std::collections::HashSet;
use std::fmt::Display;
use std::hash::Hash;
use unicode_width::UnicodeWidthStr;
pub use crate::flatten::Flattened;
@@ -346,8 +346,8 @@ where
#[cfg(test)]
mod render_tests {
use std::hash::{DefaultHasher, Hasher};
use super::*;
use std::hash::{DefaultHasher, Hasher};
#[must_use]
#[track_caller]