about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRageking8 <tomleetyt@gmail.com>2022-10-04 00:29:29 +0800
committerRageking8 <tomleetyt@gmail.com>2022-10-04 15:19:21 +0800
commit9fb509e8844301ec0a2a2d8bfa42f47f352d8688 (patch)
tree9cacd8ae070c48a21a1e21a9176684ee88df138c
parentf47e9af824a2c13873af6b898f2d65a36d029466 (diff)
downloadrust-9fb509e8844301ec0a2a2d8bfa42f47f352d8688.tar.gz
rust-9fb509e8844301ec0a2a2d8bfa42f47f352d8688.zip
fix backtrace small typo
-rw-r--r--library/std/src/backtrace.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/library/std/src/backtrace.rs b/library/std/src/backtrace.rs
index 5cf6ec81789..34b57c37635 100644
--- a/library/std/src/backtrace.rs
+++ b/library/std/src/backtrace.rs
@@ -14,8 +14,8 @@
 //! Backtraces are attempted to be as accurate as possible, but no guarantees
 //! are provided about the exact accuracy of a backtrace. Instruction pointers,
 //! symbol names, filenames, line numbers, etc, may all be incorrect when
-//! reported. Accuracy is attempted on a best-effort basis, however, and bugs
-//! are always welcome to indicate areas of improvement!
+//! reported. Accuracy is attempted on a best-effort basis, however, any bug
+//! reports are always welcome to indicate areas of improvement!
 //!
 //! For most platforms a backtrace with a filename/line number requires that
 //! programs be compiled with debug information. Without debug information
@@ -39,7 +39,7 @@
 //! default. Its behavior is governed by two environment variables:
 //!
 //! * `RUST_LIB_BACKTRACE` - if this is set to `0` then `Backtrace::capture`
-//!   will never capture a backtrace. Any other value this is set to will enable
+//!   will never capture a backtrace. Any other value set will enable
 //!   `Backtrace::capture`.
 //!
 //! * `RUST_BACKTRACE` - if `RUST_LIB_BACKTRACE` is not set, then this variable