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:
@@ -76,7 +76,8 @@ impl FreeSurferSubject {
|
||||
// Extract subject ID from directory name
|
||||
let subject_id = path
|
||||
.file_name()
|
||||
.and_then(|n| n.to_str()).map_or_else(|| "unknown".to_string(), String::from);
|
||||
.and_then(|n| n.to_str())
|
||||
.map_or_else(|| "unknown".to_string(), String::from);
|
||||
|
||||
Ok(Self {
|
||||
path,
|
||||
|
||||
Reference in New Issue
Block a user