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:
@@ -445,8 +445,7 @@ impl ShardedKVCache {
|
||||
// ============================================================================
|
||||
|
||||
/// Attention mask types.
|
||||
#[derive(Debug, Clone)]
|
||||
#[derive(Default)]
|
||||
#[derive(Debug, Clone, Default)]
|
||||
pub enum AttentionMask {
|
||||
/// No mask (full attention).
|
||||
None,
|
||||
@@ -498,7 +497,6 @@ impl AttentionMask {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ============================================================================
|
||||
// Tests
|
||||
// ============================================================================
|
||||
|
||||
Reference in New Issue
Block a user