Fix typo in function name

This commit is contained in:
Ilya Grigoriev 2023-01-20 21:38:42 -08:00
parent 9846bf6c7f
commit 1bcdcea3ef

View file

@ -164,7 +164,7 @@ fn parse_method_chain<'a, I: 'a>(
} }
Property::CommitOrChangeId(property, repo) => { Property::CommitOrChangeId(property, repo) => {
let PropertyAndLabels(next_method, labels) = let PropertyAndLabels(next_method, labels) =
parse_commit_or_chain_id_method(method, repo); parse_commit_or_change_id_method(method, repo);
(next_method.after(property), labels) (next_method.after(property), labels)
} }
Property::Signature(property) => { Property::Signature(property) => {
@ -205,7 +205,7 @@ fn parse_boolean_method<'a>(method: Pair<Rule>) -> PropertyAndLabels<'a, bool> {
panic!("no such boolean method: {}", name.as_str()); panic!("no such boolean method: {}", name.as_str());
} }
fn parse_commit_or_chain_id_method<'a>( fn parse_commit_or_change_id_method<'a>(
method: Pair<Rule>, method: Pair<Rule>,
repo: RepoRef<'a>, repo: RepoRef<'a>,
) -> PropertyAndLabels<'a, CommitOrChangeId> { ) -> PropertyAndLabels<'a, CommitOrChangeId> {