allow(clippy::cast_ptr_alignment)

This commit is contained in:
Dietmar Maurer
2019-10-25 18:03:55 +02:00
parent cd69d36b45
commit 9fe2f639b8
2 changed files with 3 additions and 0 deletions

View File

@ -256,6 +256,7 @@ impl Drop for FixedIndexWriter {
impl FixedIndexWriter {
#[allow(clippy::cast_ptr_alignment)]
pub fn create(store: Arc<ChunkStore>, path: &Path, size: usize, chunk_size: usize) -> Result<Self, Error> {
let shared_lock = store.try_shared_lock()?;