Skip to content

Commit 5e33905

Browse files
committed
Fix format
1 parent 01ea473 commit 5e33905

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/layout.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ impl MatrixLayout {
3333

3434
pub fn lda(&self) -> LDA {
3535
match *self {
36-
MatrixLayout::C((_, lda)) | MatrixLayout::F((_, lda)) => lda,
36+
MatrixLayout::C((_, lda)) |
37+
MatrixLayout::F((_, lda)) => lda,
3738
}
3839
}
3940

@@ -122,7 +123,9 @@ where
122123
}
123124

124125
fn as_allocated(&self) -> Result<&[A]> {
125-
Ok(self.as_slice_memory_order().ok_or_else(MemoryContError::new)?)
126+
Ok(self.as_slice_memory_order().ok_or_else(
127+
MemoryContError::new,
128+
)?)
126129
}
127130
}
128131

0 commit comments

Comments
 (0)