remove unnecessary impl AsRef<str> for FileID
This commit is contained in:
parent
e0c5b5517f
commit
d8c48b74ca
1 changed files with 0 additions and 6 deletions
|
|
@ -18,12 +18,6 @@ impl fmt::Display for FileID {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl AsRef<str> for FileID {
|
|
||||||
fn as_ref(&self) -> &str {
|
|
||||||
&self.0
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
impl TryFrom<String> for FileID {
|
impl TryFrom<String> for FileID {
|
||||||
type Error = error::Error;
|
type Error = error::Error;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue