We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e6f084 commit 8b06f9eCopy full SHA for 8b06f9e
1 file changed
tests/one_file_system.rs
@@ -50,16 +50,15 @@ use which::which;
50
fn same_device_on_sample_workspace() {
51
let workspace = SampleWorkspace::default();
52
53
- let build_tree = |device_boundary: DeviceBoundary| -> DataTree<OsStringDisplay, Bytes> {
54
- FsTreeBuilder {
+ let build_tree = |device_boundary: DeviceBoundary| {
+ DataTree::from(FsTreeBuilder {
55
root: workspace.to_path_buf(),
56
size_getter: GetApparentSize,
57
hardlinks_recorder: &HardlinkIgnorant,
58
reporter: &ErrorOnlyReporter::new(ErrorReport::SILENT),
59
device_boundary,
60
max_depth: 10,
61
- }
62
- .into()
+ })
63
};
64
65
let cross = DeviceBoundary::Cross
0 commit comments