From a03bdc6efee3ddd09c746c6fc80f0077f3d55ad8 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Thu, 7 Nov 2019 18:50:08 -0600 Subject: [PATCH] derive_common: Fix example in documentation --- components/derive_common/cg.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/derive_common/cg.rs b/components/derive_common/cg.rs index 7a8fbc24403..13c7b12dff1 100644 --- a/components/derive_common/cg.rs +++ b/components/derive_common/cg.rs @@ -26,7 +26,9 @@ use synstructure::{self, BindStyle, BindingInfo, VariantAst, VariantInfo}; /// /// For example: /// +/// ```ignore /// ::ComputedValue: Zero, +/// ``` /// /// This needs to run before adding other bounds to the type parameters. pub fn propagate_clauses_to_output_type(