(url: &str)
| 15 | impl Url { |
| 16 | #[new] |
| 17 | fn new(url: &str) -> Result<Self, crate::types::Error> { |
| 18 | let inner = alpm_types::Url::from_str(url)?; |
| 19 | Ok(inner.into()) |
| 20 | } |
| 21 | |
| 22 | fn __str__(&self) -> String { |
| 23 | self.0.to_string() |
nothing calls this directly
no test coverage detected