Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
nickmertin committed Apr 10, 2024
1 parent 85c4db3 commit 245f4e9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/base/array_storage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ where
{
self.clone()
}

#[inline]
fn forget(self) {
// No additional cleanup required.
Expand Down
2 changes: 1 addition & 1 deletion src/base/matrix_view.rs
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ macro_rules! storage_impl(
let it = MatrixIter::new(self).cloned();
DefaultAllocator::allocate_from_iterator(nrows, ncols, it)
}

#[inline]
fn forget(self) {
// No cleanup required.
Expand Down
4 changes: 2 additions & 2 deletions src/base/vec_storage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ where
{
self.clone()
}

#[inline]
fn forget(mut self) {
// Set length to 0 so element destructors are not called.
Expand Down Expand Up @@ -338,7 +338,7 @@ where
{
self.clone()
}

#[inline]
fn forget(mut self) {
// Set length to 0 so element destructors are not called.
Expand Down

0 comments on commit 245f4e9

Please sign in to comment.