1
Fork 0

remove some redundant clones

This commit is contained in:
Matthias Krüger 2023-12-11 21:54:36 +01:00
parent 57010939ed
commit 0564de10b1
4 changed files with 4 additions and 4 deletions

View file

@ -11,7 +11,7 @@ pub struct MachineInfo {
impl MachineInfo {
pub fn target() -> MachineInfo {
with(|cx| cx.target_info().clone())
with(|cx| cx.target_info())
}
pub fn target_endianess() -> Endian {