From 509a00fcb859f454e12330d8958c84030247d220 Mon Sep 17 00:00:00 2001 From: sksat Date: Tue, 1 Aug 2023 17:51:12 +0900 Subject: [PATCH] rustfmt --- build.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/build.rs b/build.rs index 6b26281e6..37aff7ecb 100644 --- a/build.rs +++ b/build.rs @@ -119,7 +119,11 @@ fn get_definitions(src_file: &str) -> HashMap> { let first = token.first().unwrap(); let last = token.last().unwrap(); - if first.get_kind() == Punctuation && last.get_kind() == Punctuation && first.get_spelling() == "(" && last.get_spelling() == ")" { + if first.get_kind() == Punctuation + && last.get_kind() == Punctuation + && first.get_spelling() == "(" + && last.get_spelling() == ")" + { token.remove(0); token.remove(token.len() - 1); }