Skip to content

Commit

Permalink
chore: remove stale comment on HirFunction.unchecked_from_expr (#827)
Browse files Browse the repository at this point in the history
chore: remove stale commend on HirFunction.unchecked_from_expr
  • Loading branch information
TomAFrench authored Feb 13, 2023
1 parent a043960 commit 2201dbc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions crates/noirc_frontend/src/hir_def/function.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ impl HirFunction {
HirFunction(ExprId::empty_block_id())
}

// This function is marked as unsafe because
// the expression kind is not being checked
pub const fn unchecked_from_expr(expr_id: ExprId) -> HirFunction {
HirFunction(expr_id)
}
Expand Down

0 comments on commit 2201dbc

Please sign in to comment.