We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b91b9c commit c015927Copy full SHA for c015927
src/librustdoc/clean/simplify.rs
@@ -122,9 +122,9 @@ pub fn merge_bounds(
122
},
123
});
124
}
125
- PP::Parenthesized { ref mut output, .. } => {
126
- assert!(output.is_none());
127
- if *rhs != clean::Type::Tuple(Vec::new()) {
+ PP::Parenthesized { ref mut output, .. } => match output {
+ Some(o) => assert!(o == rhs),
+ None => if *rhs != clean::Type::Tuple(Vec::new()) {
128
*output = Some(rhs.clone());
129
130
0 commit comments