mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 06:44:46 +00:00
remove inlinable_string dependency
This commit is contained in:
parent
ceb5cc66fa
commit
d4896d3ed2
21 changed files with 4 additions and 65 deletions
|
@ -7,7 +7,6 @@ use crate::parser::{
|
|||
};
|
||||
use crate::string_literal;
|
||||
use bumpalo::collections::Vec;
|
||||
use inlinable_string::InlinableString;
|
||||
use roc_region::all::Loc;
|
||||
|
||||
#[derive(Clone, PartialEq, Eq, Debug, Hash)]
|
||||
|
@ -48,12 +47,6 @@ impl<'a> From<ModuleName<'a>> for &'a str {
|
|||
}
|
||||
}
|
||||
|
||||
impl<'a> From<ModuleName<'a>> for InlinableString {
|
||||
fn from(name: ModuleName<'a>) -> InlinableString {
|
||||
name.0.into()
|
||||
}
|
||||
}
|
||||
|
||||
impl<'a> ModuleName<'a> {
|
||||
pub fn new(name: &'a str) -> Self {
|
||||
ModuleName(name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue