Skip to content

Commit c892c1c

Browse files
authored
fix dupe word typos (#490)
1 parent e1d31f2 commit c892c1c

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/print.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ impl BacktraceFrameFmt<'_, '_, '_> {
135135
symbol.name(),
136136
// TODO: this isn't great that we don't end up printing anything
137137
// with non-utf8 filenames. Thankfully almost everything is utf8 so
138-
// this shouldn't be too too bad.
138+
// this shouldn't be too bad.
139139
symbol
140140
.filename()
141141
.and_then(|p| Some(BytesOrWideString::Bytes(p.to_str()?.as_bytes()))),

src/symbolize/gimli/libs_macos.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ fn native_library(i: u32) -> Option<Library> {
113113
// file offset 0 with a nonzero size. For whatever reason when this
114114
// is present it appears to mean that the symbol table is relative
115115
// to just the vmaddr slide for the library. If it's *not* present
116-
// then the symbol table is relative to the the vmaddr slide plus
117-
// the segment's stated address.
116+
// then the symbol table is relative to the vmaddr slide plus the
117+
// segment's stated address.
118118
//
119119
// To handle this situation if we *don't* find a text section at
120120
// file offset zero then we increase the bias by the first text

src/symbolize/gimli/macho.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ type MachSection = <Mach as MachHeader>::Section;
1313
type MachNlist = <Mach as MachHeader>::Nlist;
1414

1515
impl Mapping {
16-
// The loading path for OSX is is so different we just have a completely
16+
// The loading path for OSX is so different we just have a completely
1717
// different implementation of the function here. On OSX we need to go
1818
// probing the filesystem for a bunch of files.
1919
pub fn new(path: &Path) -> Option<Mapping> {

0 commit comments

Comments
 (0)