From 997c69d8a89b80f8c84bc60b0bef5e67ad4c12c7 Mon Sep 17 00:00:00 2001 From: bridiver <34129+bridiver@users.noreply.github.com> Date: Fri, 28 Feb 2025 06:47:49 -0700 Subject: [PATCH] update comment --- third_party/rust/url/v2/crate/parse.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/third_party/rust/url/v2/crate/parse.cc b/third_party/rust/url/v2/crate/parse.cc index a2861f49863b..554111df7896 100644 --- a/third_party/rust/url/v2/crate/parse.cc +++ b/third_party/rust/url/v2/crate/parse.cc @@ -23,7 +23,8 @@ ParseResult ParseURL(rust::Str url_string) { .has_query = url.has_query(), .query = url.query(), .has_port = url.has_port(), - // have a better check here + // maybe this should be a checked cast since the max port + // fits within uint16 .port = base::saturated_cast(url.IntPort()), .valid = url.is_valid() };