From d193050a353f1e39001f000aab0dcef49459376f Mon Sep 17 00:00:00 2001 From: faro-dr <119426762+faro-dr@users.noreply.github.com> Date: Thu, 3 Oct 2024 10:01:29 +0200 Subject: [PATCH] Fix rust axum doc tests (#19538) (#19539) --- .../src/main/resources/rust-axum/types.mustache | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 1a8e07ef231..67e1705ca3c 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;