Update types.rs
This commit is contained in:
parent
db3423f46a
commit
f3f1babc1b
@ -106,7 +106,7 @@
|
|||||||
///
|
///
|
||||||
/// **Example**
|
/// **Example**
|
||||||
/// ```rust,ignore
|
/// ```rust,ignore
|
||||||
/// fn get_node_data(n: Node) -> Option<Option<u32>> {
|
/// fn get_data() -> Option<Option<u32>> {
|
||||||
/// None
|
/// None
|
||||||
/// }
|
/// }
|
||||||
/// ```
|
/// ```
|
||||||
@ -120,7 +120,7 @@
|
|||||||
/// None, // Was None
|
/// None, // Was None
|
||||||
/// }
|
/// }
|
||||||
///
|
///
|
||||||
/// fn get_node_data(n: Node) -> Contents {
|
/// fn get_data() -> Contents {
|
||||||
/// Contents::None
|
/// Contents::None
|
||||||
/// }
|
/// }
|
||||||
/// ```
|
/// ```
|
||||||
|
Loading…
Reference in New Issue
Block a user