Remove most ~[] usage in liburl
Remove ~[] from libsemver
auto merge of #12923 : sfackler/rust/vecify, r=brson