Replace TagName::into_string with as_string

This commit is contained in:
Richard Feldman 2020-08-23 22:43:52 -04:00
parent c5f5bb1bef
commit 181cf10d2c
3 changed files with 7 additions and 7 deletions

View file

@ -40,7 +40,7 @@ pub enum TagName {
}
impl TagName {
pub fn into_string(self, interns: &Interns, home: ModuleId) -> InlinableString {
pub fn as_string(&self, interns: &Interns, home: ModuleId) -> InlinableString {
match self {
TagName::Global(uppercase) => uppercase.as_inline_str().clone(),
TagName::Private(symbol) => symbol.fully_qualified(interns, home),