cl-ast: Fix typo in ast_impl::convert impl From<AsRef<str>> for PathPart
This commit is contained in:
parent
a3a87e0b67
commit
169f61144b
@ -679,7 +679,7 @@ mod convert {
|
||||
impl<T: AsRef<str>> From<T> for PathPart {
|
||||
fn from(value: T) -> Self {
|
||||
match value.as_ref() {
|
||||
"Self" => PathPart::SelfKw,
|
||||
"self" => PathPart::SelfKw,
|
||||
"super" => PathPart::SuperKw,
|
||||
ident => PathPart::Ident(ident.into()),
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user