diff --git a/modules/openapi-generator/src/main/resources/rust-axum/types.mustache b/modules/openapi-generator/src/main/resources/rust-axum/types.mustache index 1a8e07ef231a..67e1705ca3c4 100644 --- a/modules/openapi-generator/src/main/resources/rust-axum/types.mustache +++ b/modules/openapi-generator/src/main/resources/rust-axum/types.mustache @@ -175,7 +175,7 @@ impl Nullable { /// assert_eq!(x.expect("the world is ending"), "value"); /// ``` /// - /// ```{.should_panic} + /// ```should_panic /// # use {{{externCrateName}}}::types::Nullable; /// /// let x: Nullable<&str> = Nullable::Null; @@ -210,7 +210,7 @@ impl Nullable { /// assert_eq!(x.unwrap(), "air"); /// ``` /// - /// ```{.should_panic} + /// ```should_panic /// # use {{{externCrateName}}}::types::Nullable; /// /// let x: Nullable<&str> = Nullable::Null;