about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorGoodDaisy <90915921+GoodDaisy@users.noreply.github.com>2023-10-23 20:29:24 +0800
committerGoodDaisy <90915921+GoodDaisy@users.noreply.github.com>2023-10-23 20:52:14 +0800
commit0d780b108b007c6232ab3cbba8c47822edbbbddd (patch)
tree07f19af55be0a703a1463b1826ea6e8c8e3c716e /src
parenta56bd2b944aed6b4a0507cc1870fb4c86d08e48e (diff)
fix typos in comments
Diffstat (limited to 'src')
-rw-r--r--src/doc/unstable-book/src/compiler-flags/check-cfg.md2
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"