mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-18 18:04:13 +00:00
Rename Unsafe to Safety
This commit is contained in:
parent
ed7d97e4c8
commit
8aa7112c82
@ -872,7 +872,7 @@ pub(crate) fn assert_assignable<'tcx>(
|
||||
let FnSig {
|
||||
inputs_and_output: types_from,
|
||||
c_variadic: c_variadic_from,
|
||||
unsafety: unsafety_from,
|
||||
safety: unsafety_from,
|
||||
abi: abi_from,
|
||||
} = from_sig;
|
||||
let to_sig = fx
|
||||
@ -881,7 +881,7 @@ pub(crate) fn assert_assignable<'tcx>(
|
||||
let FnSig {
|
||||
inputs_and_output: types_to,
|
||||
c_variadic: c_variadic_to,
|
||||
unsafety: unsafety_to,
|
||||
safety: unsafety_to,
|
||||
abi: abi_to,
|
||||
} = to_sig;
|
||||
let mut types_from = types_from.iter();
|
||||
|
Loading…
Reference in New Issue
Block a user