{
  "$type": "site.standard.document",
  "bskyPostRef": {
    "cid": "bafyreidkdg6llt2abilfyqomtdgi5wuzzyuwz6d7y442mnbly55rz22uci",
    "uri": "at://did:plc:ivbknywyskln22er3nkssdhl/app.bsky.feed.post/3mk443kxi7su2"
  },
  "path": "/t/add-an-implementation-for-the-default-trait-for-std-controlflow/24191#post_2",
  "publishedAt": "2026-04-22T17:55:34.000Z",
  "site": "https://internals.rust-lang.org",
  "textContent": "Isn't `ControlFlow` used in situations where it's ambiguous whether the \"normal\"/\"successful\" behavior is breaking or continuing? This seems to me like it would have a significant risk of being the wrong default; and returning `Continue` in particular could cause an unintended infinite loop. It also would not be good for readability, because understanding the resulting control flow requires knowing the answer to the question \"what does `Default` do?\".",
  "title": "Add an implementation for the Default trait for std::ops::ControlFlow"
}