Update types.rs

This commit is contained in:
Simon Farnsworth 2020-04-02 14:28:25 +01:00 committed by GitHub
parent db3423f46a
commit f3f1babc1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
/// }
/// ```