mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 12:18:19 +00:00
No need for extra qualifier
This commit is contained in:
parent
4d65db22d2
commit
c57d254205
1 changed files with 1 additions and 4 deletions
|
@ -31,10 +31,7 @@ impl<'a, 'ctx> Scope<'a, 'ctx> {
|
|||
}
|
||||
}
|
||||
|
||||
pub(crate) fn load_symbol_and_layout(
|
||||
&self,
|
||||
symbol: &Symbol,
|
||||
) -> (BasicValueEnum<'ctx>, InLayout<'a>) {
|
||||
pub fn load_symbol_and_layout(&self, symbol: &Symbol) -> (BasicValueEnum<'ctx>, InLayout<'a>) {
|
||||
match self.symbols.get(symbol) {
|
||||
Some((layout, ptr)) => (*ptr, *layout),
|
||||
None => panic!("There was no entry for {:?} in scope {:?}", symbol, self),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue