style: apply rustfmt across all crates and demos
Consistent formatting pass: line wrapping, import sorting, trailing whitespace removal, let-chain indentation, merged derive attributes, and unsafe block reformatting. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
This commit is contained in:
@@ -294,7 +294,7 @@ impl Default for ConvergenceDetector {
|
||||
|
||||
/// Utility functions for parameter operations
|
||||
pub mod utils {
|
||||
use super::{HashMap, Result, FederatedError};
|
||||
use super::{FederatedError, HashMap, Result};
|
||||
|
||||
/// Compute L2 norm of parameters
|
||||
pub fn compute_parameter_norm(parameters: &HashMap<String, Vec<f64>>) -> f64 {
|
||||
|
||||
Reference in New Issue
Block a user