(&mut self)
| 363 | |
| 364 | impl<R: Repo, T> Drop for Generic<R, T> { |
| 365 | fn drop(&mut self) { |
| 366 | if !self.panicked |
| 367 | && let Err(e) = self.flush_and_sync() |
| 368 | { |
| 369 | error!("failed to commit on drop: {e}"); |
| 370 | } |
| 371 | } |
| 372 | } |
| 373 | |
| 374 | /// The most recent non empty segment in repo `R`. |
nothing calls this directly
no test coverage detected