mononoke: remove unused to_ascii method

Summary: It's not used

Reviewed By: HarveyHunt

Differential Revision: D17114113

fbshipit-source-id: e7f1193df684eaa19d7105037a509d1d47cc92cc
This commit is contained in:
Thomas Orozco 2019-08-30 04:08:31 -07:00 committed by Facebook Github Bot
parent 3dd41ecbda
commit 387cabf3e9

View File

@ -145,10 +145,6 @@ impl BookmarkName {
&self.bookmark
}
pub fn to_ascii(&self) -> Result<AsciiString> {
Ok(self.bookmark.clone())
}
pub fn to_string(&self) -> String {
self.bookmark.clone().into()
}
@ -224,10 +220,6 @@ impl BookmarkPrefix {
}
}
pub fn to_ascii(&self) -> Result<AsciiString> {
Ok(self.bookmark_prefix.clone())
}
pub fn to_string(&self) -> String {
self.bookmark_prefix.clone().into()
}