Skip to content

Commit

Permalink
move dead code tag to function defn rather than module
Browse files Browse the repository at this point in the history
  • Loading branch information
yeastplume committed Sep 12, 2024
1 parent 708d205 commit 30728b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chain/tests/chain_test_helper.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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);
Expand Down

0 comments on commit 30728b1

Please sign in to comment.