Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAFrench authored Aug 15, 2023
1 parent dcb8b03 commit a8a11f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/nargo_toml/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ fn path_root(path: &Path) -> PathBuf {
}
}

/// Returns the [Path] of the `Nargo.toml` file by searching from `current_path` and stopping at `root_path`.
/// Returns the [PathBuf] of the `Nargo.toml` file by searching from `current_path` and stopping at `root_path`.
///
/// Returns a [ManifestError] if no parent directories of `current_path` contain a manifest file.
pub fn find_package_manifest(
Expand Down Expand Up @@ -72,7 +72,7 @@ pub fn find_package_manifest(
})
}
}
/// Returns the [Path] of the `Nargo.toml` file in the `current_path` directory.
/// Returns the [PathBuf] of the `Nargo.toml` file in the `current_path` directory.
///
/// Returns a [ManifestError] if `current_path` does not contain a manifest file.
pub fn get_package_manifest(current_path: &Path) -> Result<PathBuf, ManifestError> {
Expand Down

0 comments on commit a8a11f5

Please sign in to comment.