diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2019-11-09 02:39:09 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-09 02:39:09 -0500 |
commit | 18dae9ee8f8165b044ac5cdbbaad99e88bb49da0 (patch) | |
tree | 018c0c237f7e7f48cde35878db26154d5a0d3f7a | |
parent | 87432c71d0f95f10dbae44bdb080fe51333dd3d5 (diff) | |
parent | a03bdc6efee3ddd09c746c6fc80f0077f3d55ad8 (diff) | |
download | servo-18dae9ee8f8165b044ac5cdbbaad99e88bb49da0.tar.gz servo-18dae9ee8f8165b044ac5cdbbaad99e88bb49da0.zip |
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. -->
-rw-r--r-- | components/derive_common/cg.rs | 2 |
1 files changed, 2 insertions, 0 deletions
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 /// <T as ToComputedValue>::ComputedValue: Zero, +/// ``` /// /// This needs to run before adding other bounds to the type parameters. pub fn propagate_clauses_to_output_type( |