diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-10-24 17:08:59 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-24 17:08:59 +0200 |
| commit | 0aade2f0de4561823875df84ca79af1017833f48 (patch) | |
| tree | 19845d8426c654e88a01e52b0931c2cb0770f21d /src | |
| parent | 642bfb254a851d0deca01d6e2f4db13b60536210 (diff) | |
| parent | 0d780b108b007c6232ab3cbba8c47822edbbbddd (diff) | |
Rollup merge of #117081 - GoodDaisy:master, r=wesleywiser
fix typos in comments
Diffstat (limited to 'src')
| -rw-r--r-- | src/doc/unstable-book/src/compiler-flags/check-cfg.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/unstable-book/src/compiler-flags/check-cfg.md b/src/doc/unstable-book/src/compiler-flags/check-cfg.md index ca18ec567a4..7a3ef5e9e2b 100644 --- a/src/doc/unstable-book/src/compiler-flags/check-cfg.md +++ b/src/doc/unstable-book/src/compiler-flags/check-cfg.md @@ -123,7 +123,7 @@ rustc --check-cfg 'cfg(is_embedded, has_feathers, values(any()))' \ fn do_embedded() {} // and because names exhaustiveness was not disabled #[cfg(has_feathers)] // This is expected as "has_feathers" was provided in cfg() -fn do_features() {} // and because names exhaustiveness was not disbaled +fn do_features() {} // and because names exhaustiveness was not disabled #[cfg(has_feathers = "zapping")] // This is expected as "has_feathers" was provided in cfg() // and because no value checking was enable for "has_feathers" |
