rollup merge of #19329: steveklabnik/doc_style_cleanup2
This commit is contained in:
@@ -276,11 +276,9 @@ impl PathParameters {
|
||||
}
|
||||
}
|
||||
|
||||
/// Returns the types that the user wrote. Note that these do not necessarily map to the type
|
||||
/// parameters in the parenthesized case.
|
||||
pub fn types(&self) -> Vec<&P<Ty>> {
|
||||
/*!
|
||||
* Returns the types that the user wrote. Note that these do not
|
||||
* necessarily map to the type parameters in the parenthesized case.
|
||||
*/
|
||||
match *self {
|
||||
AngleBracketedParameters(ref data) => {
|
||||
data.types.iter().collect()
|
||||
|
||||
Reference in New Issue
Block a user