Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore(gateway): remove must_use attribute from validate_remote_transport

Steven Enamakel6932b7f1f45b
diff --git a/app/src-tauri/src/gateway/types.rs b/app/src-tauri/src/gateway/types.rs
index f41fc1e251..c5fa858242 100644
--- a/app/src-tauri/src/gateway/types.rs
+++ b/app/src-tauri/src/gateway/types.rs
@@ -180,7 +180,6 @@ fn is_loopback_host(host: &str) -> bool {
/// Returns a user-facing message when `url` is not parseable, when it is not
/// `http(s)`, or when it would transmit a bearer over an unauthenticated
/// non-loopback transport.
-#[must_use]
pub fn validate_remote_transport(url: &str, token: Option<&str>) -> Result<(), String> {
let parsed = url
.parse::<url::Url>()