rename typed_swap → typed_swap_nonoverlapping

This commit is contained in:
Ralf Jung
2024-12-25 10:49:23 +01:00
parent 00dfa3ba2d
commit 7291b1eaf7
14 changed files with 43 additions and 26 deletions

View File

@@ -382,7 +382,7 @@ pub trait BuilderMethods<'a, 'tcx>:
/// Avoids `alloca`s for Immediates and ScalarPairs.
///
/// FIXME: Maybe do something smarter for Ref types too?
/// For now, the `typed_swap` intrinsic just doesn't call this for those
/// For now, the `typed_swap_nonoverlapping` intrinsic just doesn't call this for those
/// cases (in non-debug), preferring the fallback body instead.
fn typed_place_swap(
&mut self,