rollup merge of #19329: steveklabnik/doc_style_cleanup2

This commit is contained in:
Alex Crichton
2014-11-26 11:00:36 -08:00
119 changed files with 6857 additions and 8077 deletions

View File

@@ -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()