Skip to content

Commit b898cdf

Browse files
jimblandyteoxoy
authored andcommitted
[naga spv-in] Doc fix: Parser -> Frontend
Fix documentation left unchanged when `Parser` was renamed to `Frontend`.
1 parent 9f74b15 commit b898cdf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

naga/src/front/spv/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,14 +313,14 @@ struct LookupVariable {
313313
type_id: spirv::Word,
314314
}
315315

316-
/// Information about SPIR-V result ids, stored in `Parser::lookup_expression`.
316+
/// Information about SPIR-V result ids, stored in `Frontend::lookup_expression`.
317317
#[derive(Clone, Debug)]
318318
struct LookupExpression {
319319
/// The `Expression` constructed for this result.
320320
///
321321
/// Note that, while a SPIR-V result id can be used in any block dominated
322322
/// by its definition, a Naga `Expression` is only in scope for the rest of
323-
/// its subtree. `Parser::get_expr_handle` takes care of spilling the result
323+
/// its subtree. `Frontend::get_expr_handle` takes care of spilling the result
324324
/// to a `LocalVariable` which can then be used anywhere.
325325
handle: Handle<crate::Expression>,
326326

0 commit comments

Comments
 (0)