Skip to content

Commit e0239b4

Browse files
committed
Auto merge of #67694 - Dylan-DPC:rollup-wxxm9yu, r=Dylan-DPC
Rollup of 3 pull requests Successful merges: - #67482 (Fix outdated comment) - #67673 (Update .mailmap) - #67679 (Change "be returning" to "return") Failed merges: r? @ghost
2 parents 774a4bd + 71b6ae9 commit e0239b4

File tree

5 files changed

+9
-5
lines changed

5 files changed

+9
-5
lines changed

.mailmap

+1
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,7 @@ Xuefeng Wu <[email protected]> Xuefeng Wu <[email protected]>
263263
Xuefeng Wu <[email protected]> XuefengWu <[email protected]>
264264
York Xiang <[email protected]>
265265
266+
Yuki Okushi <[email protected]>
266267
Zach Pomerantz <[email protected]>
267268
268269
Zack Slayton <[email protected]>

src/librustc_mir/borrow_check/universal_regions.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
//! fn foo<'a, 'b, 'c: 'b>() { }
66
//! ```
77
//!
8-
//! here we would be returning a map assigning each of `{'a, 'b, 'c}`
8+
//! here we would return a map assigning each of `{'a, 'b, 'c}`
99
//! to an index, as well as the `FreeRegionMap` which can compute
1010
//! relationships between them.
1111
//!

src/libstd/env.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//!
77
//! There are several functions and structs in this module that have a
88
//! counterpart ending in `os`. Those ending in `os` will return an [`OsString`]
9-
//! and those without will be returning a [`String`].
9+
//! and those without will return a [`String`].
1010
//!
1111
//! [`OsString`]: ../../std/ffi/struct.OsString.html
1212
//! [`String`]: ../string/struct.String.html

src/libsyntax_ext/deriving/generic/mod.rs

+4-2
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,8 @@ impl<'a> TraitDef<'a> {
412412
_ => {
413413
// Non-ADT derive is an error, but it should have been
414414
// set earlier; see
415-
// libsyntax/ext/expand.rs:MacroExpander::expand()
415+
// libsyntax_expand/expand.rs:MacroExpander::fully_expand_fragment()
416+
// libsyntax_expand/base.rs:Annotatable::derive_allowed()
416417
return;
417418
}
418419
};
@@ -486,7 +487,8 @@ impl<'a> TraitDef<'a> {
486487
_ => {
487488
// Non-Item derive is an error, but it should have been
488489
// set earlier; see
489-
// libsyntax/ext/expand.rs:MacroExpander::expand()
490+
// libsyntax_expand/expand.rs:MacroExpander::fully_expand_fragment()
491+
// libsyntax_expand/base.rs:Annotatable::derive_allowed()
490492
return;
491493
}
492494
}

src/libsyntax_ext/deriving/mod.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,8 @@ fn inject_impl_of_structural_trait(
9292
_ => {
9393
// Non-Item derive is an error, but it should have been
9494
// set earlier; see
95-
// libsyntax/ext/expand.rs:MacroExpander::expand()
95+
// libsyntax_expand/expand.rs:MacroExpander::fully_expand_fragment()
96+
// libsyntax_expand/base.rs:Annotatable::derive_allowed()
9697
return;
9798
}
9899
};

0 commit comments

Comments
 (0)