From b9ed8bd5abff4618c54fc02715225c9f9594b48d Mon Sep 17 00:00:00 2001 From: Setzer22 Date: Thu, 9 Jun 2022 21:38:53 +0200 Subject: [PATCH] Ignore docstring examples --- egui_node_graph/src/traits.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/egui_node_graph/src/traits.rs b/egui_node_graph/src/traits.rs index 2f5c6d6..79d1f3e 100644 --- a/egui_node_graph/src/traits.rs +++ b/egui_node_graph/src/traits.rs @@ -21,12 +21,12 @@ pub trait DataTypeTrait: PartialEq + Eq { /// The name of this datatype. Return type is specified as Cow because /// some implementations will need to allocate a new string to provide an - /// answer while others won't. + /// answer while others won't. /// /// ## Example (borrowed value) /// Use this when you can get the name of the datatype from its fields or as /// a &'static str. Prefer this method when possible. - /// ```rust + /// ```ignore /// pub struct DataType { name: String } /// /// impl DataTypeTrait<()> for DataType { @@ -38,7 +38,7 @@ pub trait DataTypeTrait: PartialEq + Eq { /// /// ## Example (owned value) /// Use this when you can't derive the name of the datatype from its fields. - /// ```rust + /// ```ignore /// pub struct DataType { some_tag: i32 } /// /// impl DataTypeTrait<()> for DataType {