diff --git a/src/model.rs b/src/model.rs index a08f37b..94e57b1 100644 --- a/src/model.rs +++ b/src/model.rs @@ -1195,7 +1195,7 @@ pub fn display_tree(tree: &Tree, path_str: &str, tree_branches: bool, verbose: u /// Print a tree if it exists, otherwise print a missing tree pub fn print_tree(tree: &Tree, tree_branches: bool, verbose: u8, quiet: bool) -> bool { if let Ok(path) = tree.path_as_ref() { - // Sparse gardens/missing trees are ok -> skip these entries. + // Sparse gardens/missing trees are expected. Skip these entries. if !std::path::PathBuf::from(&path).exists() { if !quiet { eprintln!("{}", display_missing_tree(tree, path, verbose)); diff --git a/tests/common/mod.rs b/tests/common/mod.rs index 1ffbf74..29360ee 100644 --- a/tests/common/mod.rs +++ b/tests/common/mod.rs @@ -278,14 +278,14 @@ impl<'a> BareRepoFixture<'a> { } /// Asserts that the path is a Git worktree. - /// Returns a pathbuf for the specified worktree. + /// Returns a PathBuf for the specified worktree. pub fn worktree_pathbuf(&self, path: &str) -> std::path::PathBuf { std::path::PathBuf::from(self.worktree(path)) } } impl Drop for BareRepoFixture<'_> { - /// Teardown the test repository. + /// Teardown the test repository filesystem data. fn drop(&mut self) { teardown_tmp_test_data(&self.root()); }