From ad7f5293db22e23d8d50077aa99f5d7a904092fc Mon Sep 17 00:00:00 2001 From: Michael Krasnitski Date: Fri, 6 Jan 2023 14:13:55 -0500 Subject: Rust API: Additional Cleanup --- rust/src/function.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'rust/src/function.rs') diff --git a/rust/src/function.rs b/rust/src/function.rs index f56f0d64..aaefe5cd 100644 --- a/rust/src/function.rs +++ b/rust/src/function.rs @@ -35,10 +35,7 @@ pub struct Location { impl From for Location { fn from(addr: u64) -> Self { - Location { - arch: None, - addr, - } + Location { arch: None, addr } } } -- cgit v1.3.1