Skip to content

Commit

Permalink
Add todo about TreeID newtype
Browse files Browse the repository at this point in the history
Signed-off-by: simonsan <[email protected]>
  • Loading branch information
simonsan committed Mar 12, 2024
1 parent 1d359cf commit 8b60402
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/core/src/repository.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1452,6 +1452,7 @@ impl<P, S: IndexedTree> Repository<P, S> {
/// # Arguments
///
/// * `id` - The `Id` of the tree
// TODO!: This ID should be a tree ID, we should refactor it to wrap it in a TreeId type
///
/// # Errors
///
Expand All @@ -1475,6 +1476,7 @@ impl<P, S: IndexedTree> Repository<P, S> {
/// # Arguments
///
/// * `root_tree` - The `Id` of the root tree
// TODO!: This ID should be a tree ID, we should refactor it to wrap it in a TreeId type
/// * `path` - The path
///
/// # Errors
Expand Down

0 comments on commit 8b60402

Please sign in to comment.