From f78e6468ba40b5d328cf282c92fc94521988000e Mon Sep 17 00:00:00 2001 From: Pietro Albini Date: Thu, 24 Nov 2022 16:02:55 +0100 Subject: [PATCH] make comment more clear Co-authored-by: Felix S Klock II --- src/tools/collect-license-metadata/src/path_tree.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tools/collect-license-metadata/src/path_tree.rs b/src/tools/collect-license-metadata/src/path_tree.rs index 6278970d8136..fa4ae87bdad0 100644 --- a/src/tools/collect-license-metadata/src/path_tree.rs +++ b/src/tools/collect-license-metadata/src/path_tree.rs @@ -26,8 +26,8 @@ impl Node { self.remove_empty(); } - /// Initially, trees are built by the build() function with each file practically having a - /// separate directory tree, like so: + /// Initially, the build() function constructs a list of separate paths from the file + /// system root down to each file, like so: /// /// ```text /// ┌─► ./ ──► compiler/ ──► rustc/ ──► src/ ──► main.rs