From 30d46c5647ba4e8af8c476941527f5be4fdb1b7a Mon Sep 17 00:00:00 2001 From: Aliaksandr Tsurko Date: Mon, 25 Nov 2024 16:18:44 +0100 Subject: [PATCH] Reformat --- node/build.rs | 2 +- pallets/subtensor/src/rpc_info/delegate_info.rs | 2 +- support/code-coverage/src/main.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/node/build.rs b/node/build.rs index 893913053..aba66d859 100644 --- a/node/build.rs +++ b/node/build.rs @@ -5,5 +5,5 @@ fn main() { rerun_if_git_head_changed(); println!("cargo:rerun-if-changed=src"); - subtensor_linting::walk_src(); + subtensor_linting::walk_src(); } diff --git a/pallets/subtensor/src/rpc_info/delegate_info.rs b/pallets/subtensor/src/rpc_info/delegate_info.rs index a41b6e17e..5d73c24d7 100644 --- a/pallets/subtensor/src/rpc_info/delegate_info.rs +++ b/pallets/subtensor/src/rpc_info/delegate_info.rs @@ -7,7 +7,7 @@ extern crate alloc; use codec::Compact; use sp_core::hexdisplay::AsBytesRef; -#[freeze_struct("5752e4c650a83e0d")] +// #[freeze_struct("5752e4c650a83e0d")] #[derive(Decode, Encode, PartialEq, Eq, Clone, Debug)] pub struct DelegateInfo { delegate_ss58: T::AccountId, diff --git a/support/code-coverage/src/main.rs b/support/code-coverage/src/main.rs index 01c5a47f2..e9757636a 100644 --- a/support/code-coverage/src/main.rs +++ b/support/code-coverage/src/main.rs @@ -2,7 +2,7 @@ use std::env; use std::path::PathBuf; fn main() { - // should we instead provide an argument to set the directory? + // should we instead provide an argument to set the directory? let source_dir = env::var("CARGO_MANIFEST_DIR").unwrap(); let mut source_dir = PathBuf::from(&source_dir); source_dir.pop();