Correct obsolete comment

This commit is contained in:
Aleksey Kladov 2019-12-12 17:17:57 +01:00
parent 125559c14b
commit 332f2205b0

View File

@ -29,8 +29,7 @@ pub struct PathSegment {
}
/// Generic arguments to a path segment (e.g. the `i32` in `Option<i32>`). This
/// can (in the future) also include bindings of associated types, like in
/// `Iterator<Item = Foo>`.
/// also includes bindings of associated types, like in `Iterator<Item = Foo>`.
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
pub struct GenericArgs {
pub args: Vec<GenericArg>,