From 3d4a0cadc950d4440251efa11b55b0bfb0afdef7 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Thu, 6 Aug 2026 04:22:46 +0900 Subject: chore: drop @param/@return tags that only restate Rust types The ported docblocks copied @param and @return straight from the PHP source. When such a tag carries nothing but a type and an argument name, the Rust signature already states it, so the line is noise. Tags whose text adds prose beyond the type are kept. Co-Authored-By: Claude Opus 5 (1M context) --- crates/shirabe/src/util/http/curl_downloader.rs | 4 ---- 1 file changed, 4 deletions(-) (limited to 'crates/shirabe/src/util/http') diff --git a/crates/shirabe/src/util/http/curl_downloader.rs b/crates/shirabe/src/util/http/curl_downloader.rs index 1207dea0..2d2259b9 100644 --- a/crates/shirabe/src/util/http/curl_downloader.rs +++ b/crates/shirabe/src/util/http/curl_downloader.rs @@ -63,7 +63,6 @@ enum Decision { } impl CurlDownloader { - /// @param mixed[] $options pub fn new( io: std::rc::Rc>, config: std::rc::Rc>, @@ -100,9 +99,6 @@ impl CurlDownloader { } } - /// @param mixed[] $options - /// @param non-empty-string $url - /// /// Runs the request through the redirect/retry/status state machine until it resolves, /// mirroring what the PHP promise resolver + `tick()` loop used to do together. pub async fn download( -- cgit v1.3.1