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 /// 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 /// also includes bindings of associated types, like in `Iterator<Item = Foo>`.
/// `Iterator<Item = Foo>`.
#[derive(Debug, Clone, PartialEq, Eq, Hash)] #[derive(Debug, Clone, PartialEq, Eq, Hash)]
pub struct GenericArgs { pub struct GenericArgs {
pub args: Vec<GenericArg>, pub args: Vec<GenericArg>,