Touch up docs
This commit is contained in:
parent
04715cbe1c
commit
d33fc26e05
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user