Skip to content

Commit 557c0b1

Browse files
committed
Adjust lifetime
1 parent d415f7c commit 557c0b1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/src/sema.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ impl<'src, 'sym> Sema<'sym> {
169169
&self,
170170
name: &str,
171171
span: Span,
172-
) -> Result<(usize, &'sym Symbol), SemaError> {
172+
) -> Result<(usize, &Symbol), SemaError> {
173173
self.table
174174
.get_with_index(name)
175175
.ok_or_else(|| SemaError::UndefinedSymbol {

0 commit comments

Comments
 (0)