Disable dead_code lint for 'prospective' modules

next
Sayan Nandan 3 years ago
parent a730511a2f
commit 124caec193

@ -220,6 +220,7 @@ mod __sys {
#[cfg(unix)]
mod __sys {
#![allow(dead_code)] // TODO: Enable this lint or remove the offending methods
//! # Unix platform-specific file locking
//! This module contains methods used by the `FileLock` object in this module to lock and/or
//! unlock files.

@ -24,6 +24,8 @@
*
*/
#![allow(dead_code)] // TODO: Enable this lint or remove offending methods
//! # Snapstore
//!
//! Snapstore is an extremely fundamental but powerful disk storage format which comprises of two parts:
@ -47,9 +49,9 @@
//! > In other words, the `snapstore.bin` file is completely useless without the `snapstore.partmap` file; so,
//! if you happen to lose it — have a good day!
use crate::coredb::htable::HTable;
use bincode;
use serde::{Deserialize, Serialize};
use crate::coredb::htable::HTable;
use std::error::Error;
use std::fs;
use std::io::prelude::*;

Loading…
Cancel
Save