about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-01-17T11·39+0100
committerflokli <flokli@flokli.de>2023-01-18T17·13+0000
commit4a256dda094b806198b316be7460a0423f683a51 (patch)
tree83c0fe0bc4eff41113e4ac5d2101b4d9c90fdddf
parent0f7e4bec6671d6b91c62b2b82c699211f2000622 (diff)
docs(tvix/store): fix docstring for StorePath::to_absolute_path r/5698
Change-Id: I8b36c85fe11e4fb62e5d28f6900cd80d89a5cc41
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7854
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
-rw-r--r--tvix/store/src/store_path.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/store/src/store_path.rs b/tvix/store/src/store_path.rs
index f437edb6b2d8..e7b600e8ae1d 100644
--- a/tvix/store/src/store_path.rs
+++ b/tvix/store/src/store_path.rs
@@ -81,7 +81,7 @@ impl StorePath {
         }
     }
 
-    // Converts the [StorePath] to an absolute store path string.
+    /// Converts the [StorePath] to an absolute store path string.
     /// That is a string starting with the store prefix (/nix/store)
     pub fn to_absolute_path(&self) -> String {
         format!("{}/{}", STORE_DIR, self)