ok/jj
1
0
Fork 0
forked from mirrors/jj

templater: reorder declaration of PropertyAndLabels struct

This commit is contained in:
Yuya Nishihara 2023-01-29 12:34:24 +09:00
parent 195672f75e
commit 41afdd48c7

View file

@ -106,6 +106,8 @@ impl<'a, I: 'a> Property<'a, I> {
}
}
struct PropertyAndLabels<'a, C>(Property<'a, C>, Vec<String>);
fn parse_method_chain<'a, I: 'a>(
pair: Pair<Rule>,
input_property: PropertyAndLabels<'a, I>,
@ -207,8 +209,6 @@ fn parse_timestamp_method<'a>(name: Pair<Rule>, _args: Pairs<Rule>) -> Property<
}
}
struct PropertyAndLabels<'a, C>(Property<'a, C>, Vec<String>);
fn parse_commit_keyword<'a>(
repo: RepoRef<'a>,
workspace_id: &WorkspaceId,