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/lib.rs | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'rust/src/lib.rs') diff --git a/rust/src/lib.rs b/rust/src/lib.rs index db550b49..18f73401 100644 --- a/rust/src/lib.rs +++ b/rust/src/lib.rs @@ -12,12 +12,10 @@ // See the License for the specific language governing permissions and // limitations under the License. -// TODO : If I commit this I've fucked up +// TODO : These clippy-allow are bad and needs to be removed #![allow(clippy::missing_safety_doc)] -#![allow(clippy::type_complexity)] -#![allow(clippy::from_over_into)] -// TODO : This is bad and needs to be removed #![allow(clippy::result_unit_err)] +#![allow(clippy::type_complexity)] #![doc(html_no_source)] #![doc(html_favicon_url = "/favicon.ico")] #![doc(html_logo_url = "/logo.png")] @@ -348,7 +346,8 @@ pub fn open_view>(filename: F) -> Result