Skip to content

Commit adaad6d

Browse files
fix comment
1 parent 7c6f3fe commit adaad6d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

crates/guard/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ fn next_spawn_id() -> u64 {
2222
}
2323

2424
/// Returns the workspace root directory.
25+
// TODO: Should this use something like `git rev-parse --show-toplevel` to avoid being directory-relative? Or perhaps `CARGO_WORKSPACE_DIR` is set?
2526
fn workspace_root() -> PathBuf {
2627
let manifest_dir = PathBuf::from(env!("CARGO_MANIFEST_DIR"));
2728
manifest_dir

0 commit comments

Comments
 (0)