Skip to content

Commit 4ac7a78

Browse files
committed
cargo fmt/clippy
1 parent a1f2238 commit 4ac7a78

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

promkit-widgets/src/structured/tree/path.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
use std::{fs, path};
22

3-
use super::{Row, treez::{Adapter, create_rows}};
3+
use super::{
4+
Row,
5+
treez::{Adapter, create_rows},
6+
};
47

58
pub struct PathAdapter;
69

promkit-widgets/src/structured/tree/treez.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,7 @@ where
6565
///
6666
/// Parent rows are emitted before their descendants, and rows with children
6767
/// start in the collapsed state by default.
68-
pub fn create_rows<T, E, A>(
69-
root: &T,
70-
adapter: &A,
71-
) -> Result<Vec<Row>, E>
68+
pub fn create_rows<T, E, A>(root: &T, adapter: &A) -> Result<Vec<Row>, E>
7269
where
7370
A: Adapter<Node = T, Error = E>,
7471
{

promkit/src/preset/tree.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ use crate::{
1212
},
1313
preset::Evaluator,
1414
widgets::{
15-
structured::tree::{self, Document, config::Config},
15+
structured::tree::{self, config::Config, Document},
1616
text::{self, Text},
1717
},
1818
Signal,

0 commit comments

Comments
 (0)