mirror of
https://github.com/mimblewimble/grin.git
synced 2025-05-10 19:21:16 +03:00
move dead code tag to function defn rather than module
This commit is contained in:
parent
708d205a58
commit
30728b1c3e
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,6 @@
|
|||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
#![allow(dead_code)]
|
||||
|
||||
use self::chain::types::NoopAdapter;
|
||||
use self::chain::types::Options;
|
||||
|
@ -30,6 +29,7 @@ use grin_keychain as keychain;
|
|||
use std::fs;
|
||||
use std::sync::Arc;
|
||||
|
||||
#[allow(dead_code)]
|
||||
#[cfg(test)]
|
||||
pub fn clean_output_dir(dir_name: &str) {
|
||||
let _ = fs::remove_dir_all(dir_name);
|
||||
|
|
Loading…
Add table
Reference in a new issue