Skip to content

Commit

Permalink
Use URL description in the TODO message of NSURLRequest
Browse files Browse the repository at this point in the history
Change-Id: I69fd9f06b6b34917f28b69cda60ac9924fc9eca3
  • Loading branch information
ciciplusplus committed Nov 14, 2024
1 parent 895dc04 commit 6f208c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/frameworks/foundation/ns_url_request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ pub const CLASSES: ClassExports = objc_classes! {
if url == nil {
return nil;
}
let url_str: id = msg![env; url path];
let url_desc: id = msg![env; url description];
log!(
"TODO: [NSURLRequest requestWithURL:{} cachePolicy:{} timeoutInterval:{}]",
to_rust_string(env, url_str),
to_rust_string(env, url_desc),
cache_policy,
timeout_interval,
);
Expand Down

0 comments on commit 6f208c4

Please sign in to comment.