chore: remove repetitive words (#3644)

### Description

<!--
What's included in this PR?
-->

 remove repetitive words

### Drive-by changes

<!--
Are there any minor or drive-by changes also included?
-->

### Related issues

<!--
- Fixes #[issue number here]
-->

### Backward compatibility

<!--
Are these changes backward compatible? Are there any infrastructure
implications, e.g. changes that would prohibit deploying older commits
using this infra tooling?

Yes/No
-->

### Testing

<!--
What kind of testing have these changes undergone?

None/Manual/Unit Tests
-->

Signed-off-by: overallteach <cricis@foxmail.com>
pull/3940/head
overallteach 6 months ago committed by GitHub
parent 41e739b513
commit 42a6dbc3e6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      rust/utils/backtrace-oneline/src/lib.rs

@ -118,7 +118,7 @@ impl BacktraceFrameFmt<'_, '_, '_> {
symbol.name(), symbol.name(),
// TODO: this isn't great that we don't end up printing anything // TODO: this isn't great that we don't end up printing anything
// with non-utf8 filenames. Thankfully almost everything is utf8 so // with non-utf8 filenames. Thankfully almost everything is utf8 so
// this shouldn't be too too bad. // this shouldn't be too bad.
symbol symbol
.filename() .filename()
.and_then(|p| Some(BytesOrWideString::Bytes(p.to_str()?.as_bytes()))), .and_then(|p| Some(BytesOrWideString::Bytes(p.to_str()?.as_bytes()))),

Loading…
Cancel
Save