mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
derive_common: Fix example in documentation
This commit is contained in:
parent
1089f8f242
commit
a03bdc6efe
1 changed files with 2 additions and 0 deletions
|
@ -26,7 +26,9 @@ use synstructure::{self, BindStyle, BindingInfo, VariantAst, VariantInfo};
|
||||||
///
|
///
|
||||||
/// For example:
|
/// For example:
|
||||||
///
|
///
|
||||||
|
/// ```ignore
|
||||||
/// <T as ToComputedValue>::ComputedValue: Zero,
|
/// <T as ToComputedValue>::ComputedValue: Zero,
|
||||||
|
/// ```
|
||||||
///
|
///
|
||||||
/// This needs to run before adding other bounds to the type parameters.
|
/// This needs to run before adding other bounds to the type parameters.
|
||||||
pub fn propagate_clauses_to_output_type(
|
pub fn propagate_clauses_to_output_type(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue