mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 08:47:12 +03:00
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:
parent
3dd41ecbda
commit
387cabf3e9
@ -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()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user