Skip to content

Commit 6669e05

Browse files
committed
transpile: fix doc comment for fn TypedAstContext::expr_diverges
1 parent 7de20ce commit 6669e05

File tree

1 file changed

+2
-2
lines changed
  • c2rust-transpile/src/c_ast

1 file changed

+2
-2
lines changed

c2rust-transpile/src/c_ast/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -601,8 +601,8 @@ impl TypedAstContext {
601601
}
602602
}
603603

604-
// Pessimistically try to check if an expression doesn't return. If it does, or we can't tell
605-
/// that it doesn't, return `false`.
604+
/// Pessimistically try to check if an expression doesn't return.
605+
/// If it does, or we can't tell that it doesn't, return `false`.
606606
pub fn expr_diverges(&self, expr_id: CExprId) -> bool {
607607
let func_id = match self.index(expr_id).kind {
608608
CExprKind::Call(_, func_id, _) => func_id,

0 commit comments

Comments
 (0)