From 4a7bee9d05a665b02eeaf3d314d573a35ccce526 Mon Sep 17 00:00:00 2001 From: ShuiRuTian <158983297@qq.com> Date: Thu, 13 Jun 2024 18:19:21 +0800 Subject: [PATCH] Fix doc --- src/get.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/get.rs b/src/get.rs index 51ae5c0..27f63cc 100644 --- a/src/get.rs +++ b/src/get.rs @@ -402,7 +402,7 @@ where read::reflink_async(cache.as_ref(), sri, to.as_ref()).await } -/// Hard links a cache entry by key to a specified location. +/// Hard links a cache entry by hash to a specified location. #[cfg(any(feature = "async-std", feature = "tokio"))] pub async fn hard_link_hash(cache: P, key: &Integrity, to: Q) -> Result<()> where