about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAaron Hill <aa1ronham@gmail.com>2021-02-25 16:06:19 -0500
committerGitHub <noreply@github.com>2021-02-25 16:06:19 -0500
commitfe6cbbc1688fdf99f526b6d1a562923c6fdbae0d (patch)
treeac23c9e6cee38fe5b4aaac30502554b257b568ca
parent44f85c5de054aa3b8aa4f83f1ad1633e5c2768cb (diff)
parent010a6f955655b6240ac42465c0a3567641611d5e (diff)
downloadrust-fe6cbbc1688fdf99f526b6d1a562923c6fdbae0d.tar.gz
rust-fe6cbbc1688fdf99f526b6d1a562923c6fdbae0d.zip
Rollup merge of #82463 - jrmuizel:patch-1, r=steveklabnik
panic_bounds_checks should be panic_bounds_check
-rw-r--r--src/doc/unstable-book/src/language-features/lang-items.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/unstable-book/src/language-features/lang-items.md b/src/doc/unstable-book/src/language-features/lang-items.md
index d44c841d48c..22780804610 100644
--- a/src/doc/unstable-book/src/language-features/lang-items.md
+++ b/src/doc/unstable-book/src/language-features/lang-items.md
@@ -66,7 +66,7 @@ Other features provided by lang items include:
   marked with lang items; those specific four are `eq`, `ord`,
   `deref`, and `add` respectively.
 - stack unwinding and general failure; the `eh_personality`,
-  `panic` and `panic_bounds_checks` lang items.
+  `panic` and `panic_bounds_check` lang items.
 - the traits in `std::marker` used to indicate types of
   various kinds; lang items `send`, `sync` and `copy`.
 - the marker types and variance indicators found in