[librsvg: 8/26] derive_common: Fix example in documentation



commit f42d5336fb276743a4fc645f5211dfe32edebb70
Author: Federico Mena Quintero <federico gnome org>
Date:   Thu Nov 7 18:55:09 2019 -0600

    derive_common: Fix example in documentation

 servo_crates/derive_common/cg.rs | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/servo_crates/derive_common/cg.rs b/servo_crates/derive_common/cg.rs
index 7a8fbc24..13c7b12d 100644
--- a/servo_crates/derive_common/cg.rs
+++ b/servo_crates/derive_common/cg.rs
@@ -26,7 +26,9 @@ use synstructure::{self, BindStyle, BindingInfo, VariantAst, VariantInfo};
 ///
 /// For example:
 ///
+/// ```ignore
 ///     <T as ToComputedValue>::ComputedValue: Zero,
+/// ```
 ///
 /// This needs to run before adding other bounds to the type parameters.
 pub fn propagate_clauses_to_output_type(


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]