Touch up docs

This commit is contained in:
Aleksey Kladov 2019-12-18 17:42:49 +01:00
parent 04715cbe1c
commit d33fc26e05

View File

@ -82,7 +82,8 @@ impl ModPath {
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
pub struct Path {
/// Type based path like `<T>::foo`
/// Type based path like `<T>::foo`.
/// Note that paths like `<Type as Trait>::foo` are desugard to `Trait::<Self=Type>::foo`.
type_anchor: Option<Box<TypeRef>>,
mod_path: ModPath,
/// Invariant: the same len as self.path.segments