mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 20:46:07 +03:00
tidy
This commit is contained in:
@@ -659,7 +659,8 @@ pub fn copy_repeatedly(
|
||||
self.check_align(src, src_align)?;
|
||||
self.check_align(dest, dest_align)?;
|
||||
if size.bytes() == 0 {
|
||||
// Nothing to do for ZST, other than checking alignment and non-NULLness which already happened.
|
||||
// Nothing to do for ZST, other than checking alignment and
|
||||
// non-NULLness which already happened.
|
||||
return Ok(());
|
||||
}
|
||||
let src = src.to_ptr()?;
|
||||
|
||||
Reference in New Issue
Block a user