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:
@@ -277,9 +277,7 @@ impl SensorArray {
|
||||
|
||||
/// Create from a list of sensors
|
||||
pub fn from_sensors(sensors: Vec<Sensor>) -> Self {
|
||||
let primary_type = sensors
|
||||
.first()
|
||||
.map_or(SensorType::Eeg, Sensor::sensor_type);
|
||||
let primary_type = sensors.first().map_or(SensorType::Eeg, Sensor::sensor_type);
|
||||
|
||||
Self {
|
||||
sensors,
|
||||
|
||||
Reference in New Issue
Block a user