mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 15:21:12 +00:00
Use _ over # when exporting linkable symbols
This commit is contained in:
parent
740a2f0f77
commit
4ec16749a0
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ impl LayoutId {
|
|||
// Returns something like "foo#1" when given a symbol that interns to "foo"
|
||||
// and a LayoutId of 1.
|
||||
pub fn to_symbol_string(self, symbol: Symbol, interns: &Interns) -> String {
|
||||
format!("{}#{}", symbol.ident_string(interns), self.0)
|
||||
format!("{}_{}", symbol.ident_string(interns), self.0)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue