From 7965a1590f53590b4a89e7dd691cb7cd239c680f Mon Sep 17 00:00:00 2001 From: yggverse Date: Tue, 8 Jul 2025 15:16:57 +0300 Subject: [PATCH] update comment --- src/api.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/api.rs b/src/api.rs index d0234a5..2e117a5 100644 --- a/src/api.rs +++ b/src/api.rs @@ -1,5 +1,7 @@ /// Parse infohash from the source filepath, -/// decode JSON to array on success, return None if the feed file is not reachable +/// decode hash bytes to String array on success. +/// +/// * return `None` if the `path` is not reachable pub fn get(path: &str) -> Option> { use std::io::Read; if path.contains("://") {