Fix rust axum doc tests (#19538) (#19539)

This commit is contained in:
faro-dr 2024-10-03 10:01:29 +02:00 committed by GitHub
parent 9f2bd313ff
commit d193050a35
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -175,7 +175,7 @@ impl<T> Nullable<T> {
/// 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<T> Nullable<T> {
/// assert_eq!(x.unwrap(), "air");
/// ```
///
/// ```{.should_panic}
/// ```should_panic
/// # use {{{externCrateName}}}::types::Nullable;
///
/// let x: Nullable<&str> = Nullable::Null;