PtTransportName: Remove unused accessors.

This commit is contained in:
Nick Mathewson 2022-11-16 15:18:59 -05:00
parent d990a23948
commit 119e5f6f75
1 changed files with 0 additions and 13 deletions

View File

@ -82,19 +82,6 @@ impl TryFrom<String> for PtTransportName {
}
}
impl AsRef<str> for PtTransportName {
fn as_ref(&self) -> &str {
&self.0
}
}
impl PtTransportName {
/// Return the name as a `String`
pub fn into_inner(self) -> String {
self.0
}
}
impl Display for PtTransportName {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
Display::fmt(&self.0, f)