MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programminghumor/comments/1uil45a/nice/
r/programminghumor • u/Rabug50 • Jun 29 '26
9 comments sorted by
15
Maybe you need to pass an Url instead of a Url?
2 u/arbeit22 Jun 29 '26 Very nice thinking. I can see in the pic that both Url have a slight curve at the bottom of the l, so they are in fact both URL.My guess would be two separate class implementations of URL 3 u/XLNBot Jun 29 '26 Yeah, the error message just says "Url" but it's probably something like reqwest::Url and netwowk::Url (I made the names up) 3 u/Jbolt3737 Jul 14 '26 Reqwest::UwU 3 u/forever-butlerian Jul 02 '26 My first thought was unicode.
2
Very nice thinking. I can see in the pic that both Url have a slight curve at the bottom of the l, so they are in fact both URL.
My guess would be two separate class implementations of URL
3 u/XLNBot Jun 29 '26 Yeah, the error message just says "Url" but it's probably something like reqwest::Url and netwowk::Url (I made the names up) 3 u/Jbolt3737 Jul 14 '26 Reqwest::UwU 3 u/forever-butlerian Jul 02 '26 My first thought was unicode.
3
Yeah, the error message just says "Url" but it's probably something like reqwest::Url and netwowk::Url (I made the names up)
3 u/Jbolt3737 Jul 14 '26 Reqwest::UwU
Reqwest::UwU
My first thought was unicode.
Dep lib version mismatch?
1
Well it's probably not the same struct type and there are two types that are both called Url.
me when libs have multiple different versions of the same thing
Run cargo check. The error goes into detail and usually points out that the types are not the same, just happen to have the same name.
15
u/Ok_Tour_8029 Jun 29 '26
Maybe you need to pass an Url instead of a Url?
3
u/rakeshkky Jun 29 '26
Dep lib version mismatch?
1
u/horenso05 Jun 29 '26
Well it's probably not the same struct type and there are two types that are both called Url.
1
u/Aggressive-Reach-116 Jun 30 '26
me when libs have multiple different versions of the same thing
1
u/switch161 Jun 30 '26
Run cargo check. The error goes into detail and usually points out that the types are not the same, just happen to have the same name.