Skip to content

Commit 57984be

Browse files
committed
Sync from rust e64f111
2 parents b1791ee + 54ee5ac commit 57984be

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build_system/rustc_info.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ pub(crate) fn get_file_name(crate_name: &str, crate_type: &str) -> String {
6565
}
6666

6767
/// Similar to `get_file_name`, but converts any dashes (`-`) in the `crate_name` to
68-
/// underscores (`_`). This is specially made for the the rustc and cargo wrappers
68+
/// underscores (`_`). This is specially made for the rustc and cargo wrappers
6969
/// which have a dash in the name, and that is not allowed in a crate name.
7070
pub(crate) fn get_wrapper_file_name(crate_name: &str, crate_type: &str) -> String {
7171
let crate_name = crate_name.replace('-', "_");

src/abi/pass_mode.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ pub(super) fn from_casted_value<'tcx>(
193193
kind: StackSlotKind::ExplicitSlot,
194194
// FIXME Don't force the size to a multiple of 16 bytes once Cranelift gets a way to
195195
// specify stack slot alignment.
196-
// Stack slot size may be bigger for for example `[u8; 3]` which is packed into an `i32`.
196+
// Stack slot size may be bigger for example `[u8; 3]` which is packed into an `i32`.
197197
// It may also be smaller for example when the type is a wrapper around an integer with a
198198
// larger alignment than the integer.
199199
size: (std::cmp::max(abi_param_size, layout_size) + 15) / 16 * 16,

0 commit comments

Comments
 (0)