Fix warning: the item X is imported redundantly

This commit is contained in:
gwenn
2019-06-02 08:36:16 +02:00
parent c87c49cd35
commit 93b5c10816
2 changed files with 0 additions and 5 deletions

View File

@@ -65,7 +65,6 @@ impl Session<'_> {
where
F: Fn(&str) -> bool + RefUnwindSafe,
{
use std::ffi::CStr;
use std::str;
let boxed_filter: *mut F = p_arg as *mut F;
@@ -648,7 +647,6 @@ where
F: Fn(&str) -> bool + Send + RefUnwindSafe + 'static,
C: Fn(ConflictType, ChangesetItem) -> ConflictAction + Send + RefUnwindSafe + 'static,
{
use std::ffi::CStr;
use std::str;
let tuple: *mut (Option<F>, C) = p_ctx as *mut (Option<F>, C);