Use more performant copy (#16282)

This commit is contained in:
Jack May
2021-03-31 16:52:58 -07:00
committed by GitHub
parent 416312b30b
commit ad7f8e7f23

View File

@ -1730,7 +1730,7 @@ fn call<'a>(
}
account_ref
.data
.clone_from_slice(&account.data()[0..account_ref.data.len()]);
.copy_from_slice(&account.data()[0..account_ref.data.len()]);
}
}
}