Rollup merge of #148175 - osamakader:fix-typos-duplicate-words, r=lcnr
Fix typos: duplicate words in comments - Fix 'the the' → 'the' in rustc_const_eval - Fix 'wether' → 'whether' in compiletest - Fix 'is is' → 'is' in rustc_ast_pretty (2 instances)
This commit is contained in:
@@ -298,7 +298,7 @@ impl Printer {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// This is is where `BoxMarker`s are produced.
|
// This is where `BoxMarker`s are produced.
|
||||||
fn scan_begin(&mut self, token: BeginToken) -> BoxMarker {
|
fn scan_begin(&mut self, token: BeginToken) -> BoxMarker {
|
||||||
if self.scan_stack.is_empty() {
|
if self.scan_stack.is_empty() {
|
||||||
self.left_total = 1;
|
self.left_total = 1;
|
||||||
@@ -310,7 +310,7 @@ impl Printer {
|
|||||||
BoxMarker
|
BoxMarker
|
||||||
}
|
}
|
||||||
|
|
||||||
// This is is where `BoxMarker`s are consumed.
|
// This is where `BoxMarker`s are consumed.
|
||||||
fn scan_end(&mut self, b: BoxMarker) {
|
fn scan_end(&mut self, b: BoxMarker) {
|
||||||
if self.scan_stack.is_empty() {
|
if self.scan_stack.is_empty() {
|
||||||
self.print_end();
|
self.print_end();
|
||||||
|
|||||||
@@ -121,7 +121,7 @@ impl EnteredTraceSpan for tracing::span::EnteredSpan {
|
|||||||
/// ### `tracing_separate_thread` parameter
|
/// ### `tracing_separate_thread` parameter
|
||||||
///
|
///
|
||||||
/// This macro was introduced to obtain better traces of Miri without impacting release performance.
|
/// This macro was introduced to obtain better traces of Miri without impacting release performance.
|
||||||
/// Miri saves traces using the the `tracing_chrome` `tracing::Layer` so that they can be visualized
|
/// Miri saves traces using the `tracing_chrome` `tracing::Layer` so that they can be visualized
|
||||||
/// in <https://ui.perfetto.dev>. To instruct `tracing_chrome` to put some spans on a separate trace
|
/// in <https://ui.perfetto.dev>. To instruct `tracing_chrome` to put some spans on a separate trace
|
||||||
/// thread/line than other spans when viewed in <https://ui.perfetto.dev>, you can pass
|
/// thread/line than other spans when viewed in <https://ui.perfetto.dev>, you can pass
|
||||||
/// `tracing_separate_thread = tracing::field::Empty` to the tracing macros. This is useful to
|
/// `tracing_separate_thread = tracing::field::Empty` to the tracing macros. This is useful to
|
||||||
|
|||||||
@@ -3006,7 +3006,7 @@ impl<'test> TestCx<'test> {
|
|||||||
self.delete_file(&examined_path);
|
self.delete_file(&examined_path);
|
||||||
}
|
}
|
||||||
// If we want them to be the same, but they are different, then error.
|
// If we want them to be the same, but they are different, then error.
|
||||||
// We do this wether we bless or not
|
// We do this whether we bless or not
|
||||||
(_, true, false) => {
|
(_, true, false) => {
|
||||||
self.fatal_proc_rec(
|
self.fatal_proc_rec(
|
||||||
&format!("`{}` should not have different output from base test!", kind),
|
&format!("`{}` should not have different output from base test!", kind),
|
||||||
|
|||||||
Reference in New Issue
Block a user