Skip to content

Commit

Permalink
fix spell "swtich"
Browse files Browse the repository at this point in the history
  • Loading branch information
yknishidate committed Sep 21, 2023
1 parent fb23442 commit 6845c65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lang/cpp20/likely_and_unlikely_attributes.md
Expand Up @@ -52,7 +52,7 @@ std::string fizzbuzz(int n)
}
}
// 上記例のlikely属性利用は適切ではない可能性もあり、
// swtich文ラベルへ属性指定構文例示として解釈すること
// switch文ラベルへ属性指定構文例示として解釈すること
// 入力nがランダムと仮定すると 8/15=53.3% の分岐確率となり、
// この程度の偏りに対して最適化効果が得られるかは未知数である。
```
Expand Down

0 comments on commit 6845c65

Please sign in to comment.