remove some redundant clones
This commit is contained in:
parent
57010939ed
commit
0564de10b1
4 changed files with 4 additions and 4 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue