chore: fix clippy warning in grammar visitor.

This commit is contained in:
James Harton 2023-03-13 11:22:08 +13:00
parent 60c688fd93
commit f6d1f9d96a
Signed by: james
GPG key ID: 90E82DAA13F624F4

View file

@ -452,7 +452,6 @@ fn visit_typename(pair: Pair<'_, Rule>) -> Result<Node, Error> {
let span = pair.as_span();
let result = pair
.into_inner()
.into_iter()
.map(|pair| pair.as_str())
.collect::<Vec<&str>>()
.join(".");