forked from loafle/openapi-generator-original
parent
9f2bd313ff
commit
d193050a35
@ -175,7 +175,7 @@ impl<T> Nullable<T> {
|
|||||||
/// assert_eq!(x.expect("the world is ending"), "value");
|
/// assert_eq!(x.expect("the world is ending"), "value");
|
||||||
/// ```
|
/// ```
|
||||||
///
|
///
|
||||||
/// ```{.should_panic}
|
/// ```should_panic
|
||||||
/// # use {{{externCrateName}}}::types::Nullable;
|
/// # use {{{externCrateName}}}::types::Nullable;
|
||||||
///
|
///
|
||||||
/// let x: Nullable<&str> = Nullable::Null;
|
/// let x: Nullable<&str> = Nullable::Null;
|
||||||
@ -210,7 +210,7 @@ impl<T> Nullable<T> {
|
|||||||
/// assert_eq!(x.unwrap(), "air");
|
/// assert_eq!(x.unwrap(), "air");
|
||||||
/// ```
|
/// ```
|
||||||
///
|
///
|
||||||
/// ```{.should_panic}
|
/// ```should_panic
|
||||||
/// # use {{{externCrateName}}}::types::Nullable;
|
/// # use {{{externCrateName}}}::types::Nullable;
|
||||||
///
|
///
|
||||||
/// let x: Nullable<&str> = Nullable::Null;
|
/// let x: Nullable<&str> = Nullable::Null;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user