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