mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Auto merge of #24690 - federicomenaquintero:master, r=jdm
derive_common: Fix example in documentation <!-- Please describe your changes on the following line: --> The docstring for `propagate_clauses_to_output_type` has an indented chunk which is getting picked up as a doc-test. It's not meant to compile, so just mark it as ignored. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [ ] `./mach build -d` does not report any errors - [ ] `./mach test-tidy` does not report any errors - [ ] These changes fix #___ (GitHub issue number if applicable) <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because ___ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
This commit is contained in:
commit
18dae9ee8f
1 changed files with 2 additions and 0 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue