diff --git a/rust/src/headless.rs b/rust/src/headless.rs index a496d5c1b..327535587 100644 --- a/rust/src/headless.rs +++ b/rust/src/headless.rs @@ -98,7 +98,7 @@ impl InitializationOptions { } /// A license to override with, you can use this to make sure you initialize with a specific license. - /// + /// /// This takes the form of a JSON array. The string should be formed like: /// ```json /// [{ /* json object with license data */ }] diff --git a/rust/src/lib.rs b/rust/src/lib.rs index e9dcc0359..200026998 100644 --- a/rust/src/lib.rs +++ b/rust/src/lib.rs @@ -17,6 +17,7 @@ #![allow(clippy::result_unit_err)] #![allow(clippy::type_complexity)] #![allow(clippy::too_many_arguments)] +#![allow(clippy::needless_doctest_main)] #![doc(html_root_url = "https://dev-rust.binary.ninja/")] #![doc(html_favicon_url = "/favicon.ico")] #![doc(html_logo_url = "/logo.png")]