fix: apply clippy lints to workspace
also add contributors to /pumpkin command Co-Authored-By: Fyor <90567841+fyordev@users.noreply.github.com> Co-Authored-By: MartV0 <34748938+martv0@users.noreply.github.com> Co-Authored-By: FabseGP <fabsegp@fabseman.space>
This commit is contained in:
1 parent
3776b225e4
commit
fb13004b47
263 files changed
+2173
-1651
No files matched your search
@@ -9,8 +9,7 @@ pub(crate) fn build() -> TokenStream {
|
||||
println!("cargo:rerun-if-changed=../assets/registry/1_21_11_synced_registries.json");
|
||||
|
||||
let process_version = |path: &str| -> TokenStream {
|
||||
let json_str =
|
||||
fs::read_to_string(path).unwrap_or_else(|_| panic!("Failed to read {}", path));
|
||||
let json_str = fs::read_to_string(path).unwrap_or_else(|_| panic!("Failed to read {path}"));
|
||||
let mut data: IndexMap<String, IndexMap<String, Value>> =
|
||||
serde_json::from_str(&json_str).expect("Failed to parse JSON");
|
||||
|
||||
|
||||
Reference in new issue
Block a user