From 74f92ec236a51d3d599627584693b2c744fef0da Mon Sep 17 00:00:00 2001 From: Romain Leroux Date: Fri, 1 Sep 2023 15:27:32 +0200 Subject: [PATCH] Fix doc hyperlinks --- src/ngt/index.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ngt/index.rs b/src/ngt/index.rs index 58fcd58..744f09b 100644 --- a/src/ngt/index.rs +++ b/src/ngt/index.rs @@ -29,7 +29,7 @@ impl NgtIndex where T: NgtObjectType, { - /// Creates an empty ANNG index with the given [`NgtProperties`](). + /// Creates an empty ANNG index with the given [`NgtProperties`][]. pub fn create>(path: P, prop: NgtProperties) -> Result { if cfg!(feature = "shared_mem") && path.as_ref().exists() { Err(Error(format!("Path {:?} already exists", path.as_ref())))? @@ -180,7 +180,7 @@ where } } - /// Search the nearest vectors to the specified [`NgtQuery`](). + /// Search the nearest vectors to the specified [`NgtQuery`][]. /// /// **The index must have been [`built`](NgtIndex::build) beforehand**. pub fn search_query(&self, query: NgtQuery) -> Result> {