From a8a11f54dc5d2ec744ef94749536beea65584831 Mon Sep 17 00:00:00 2001 From: Tom French <15848336+TomAFrench@users.noreply.github.com> Date: Tue, 15 Aug 2023 17:20:43 +0100 Subject: [PATCH] Apply suggestions from code review --- crates/nargo_toml/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/nargo_toml/src/lib.rs b/crates/nargo_toml/src/lib.rs index 20b586d7268..8372942931b 100644 --- a/crates/nargo_toml/src/lib.rs +++ b/crates/nargo_toml/src/lib.rs @@ -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( @@ -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 {