Skip to content

Commit 30728b1

Browse files
committed
move dead code tag to function defn rather than module
1 parent 708d205 commit 30728b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chain/tests/chain_test_helper.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
14-
#![allow(dead_code)]
1514

1615
use self::chain::types::NoopAdapter;
1716
use self::chain::types::Options;
@@ -30,6 +29,7 @@ use grin_keychain as keychain;
3029
use std::fs;
3130
use std::sync::Arc;
3231

32+
#[allow(dead_code)]
3333
#[cfg(test)]
3434
pub fn clean_output_dir(dir_name: &str) {
3535
let _ = fs::remove_dir_all(dir_name);

0 commit comments

Comments
 (0)