about summary refs log tree commit diff
path: root/src/libstd/rt/backtrace.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-09-04 18:30:59 +0000
committerbors <bors@rust-lang.org>2014-09-04 18:30:59 +0000
commitd3e7922ddd5f2abfa4d5139e8bca5fab3e796f33 (patch)
tree1b6d41765ea51745549db326611a726287f20958 /src/libstd/rt/backtrace.rs
parentbef51ba234a42c52939bcb0f8a5deb7c345d8eba (diff)
parentb7bfe04b2d003d08f6ac450f41d7f221cb87f129 (diff)
downloadrust-d3e7922ddd5f2abfa4d5139e8bca5fab3e796f33.tar.gz
rust-d3e7922ddd5f2abfa4d5139e8bca5fab3e796f33.zip
auto merge of #16982 : jbcrail/rust/comment-and-string-corrections, r=alexcrichton
I corrected spelling and capitalization errors in comments and strings.
Diffstat (limited to 'src/libstd/rt/backtrace.rs')
-rw-r--r--src/libstd/rt/backtrace.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstd/rt/backtrace.rs b/src/libstd/rt/backtrace.rs
index cf99efd24e6..c28b6c144a2 100644
--- a/src/libstd/rt/backtrace.rs
+++ b/src/libstd/rt/backtrace.rs
@@ -138,7 +138,7 @@ fn demangle(writer: &mut Writer, s: &str) -> IoResult<()> {
                         "$RP$" => ")",
                         "$C$"  => ",",
 
-                        // in theory we can demangle any unicode code point, but
+                        // in theory we can demangle any Unicode code point, but
                         // for simplicity we just catch the common ones.
                         "$x20" => " ",
                         "$x27" => "'",
@@ -461,7 +461,7 @@ mod imp {
         //
         // An additionally oddity in this function is that we initialize the
         // filename via self_exe_name() to pass to libbacktrace. It turns out
-        // that on linux libbacktrace seamlessly gets the filename of the
+        // that on Linux libbacktrace seamlessly gets the filename of the
         // current executable, but this fails on freebsd. by always providing
         // it, we make sure that libbacktrace never has a reason to not look up
         // the symbols. The libbacktrace API also states that the filename must
@@ -631,7 +631,7 @@ mod imp {
             (val & !1) as libc::uintptr_t
         }
 
-        // This function also doesn't exist on android or arm/linux, so make it
+        // This function also doesn't exist on Android or ARM/Linux, so make it
         // a no-op
         #[cfg(target_os = "android")]
         #[cfg(target_os = "linux", target_arch = "arm")]