2 releases
0.1.1 | Feb 22, 2021 |
---|---|
0.1.0 | Feb 22, 2021 |
#28 in #ref
2KB
Before:
let url = "www.google.com".to_string();
let path: &Path = url.as_ref();
Now:
let url = "www.google.com".to_string();
let path = url.to_ref::<Path>();
0.1.1 | Feb 22, 2021 |
---|---|
0.1.0 | Feb 22, 2021 |
#28 in #ref
2KB
Before:
let url = "www.google.com".to_string();
let path: &Path = url.as_ref();
Now:
let url = "www.google.com".to_string();
let path = url.to_ref::<Path>();