From 1bcdcea3efabf6c7ef1737725d67d047c3004e48 Mon Sep 17 00:00:00 2001 From: Ilya Grigoriev Date: Fri, 20 Jan 2023 21:38:42 -0800 Subject: [PATCH] Fix typo in function name --- src/template_parser.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/template_parser.rs b/src/template_parser.rs index 5eeb66dfc..6a6b2ab1d 100644 --- a/src/template_parser.rs +++ b/src/template_parser.rs @@ -164,7 +164,7 @@ fn parse_method_chain<'a, I: 'a>( } Property::CommitOrChangeId(property, repo) => { 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) } Property::Signature(property) => { @@ -205,7 +205,7 @@ fn parse_boolean_method<'a>(method: Pair) -> PropertyAndLabels<'a, bool> { 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, repo: RepoRef<'a>, ) -> PropertyAndLabels<'a, CommitOrChangeId> {