Remove dead code markers

This commit is contained in:
Alexander Krotov
2020-09-05 00:21:19 +03:00
committed by link2xt
parent 383c5ba7fd
commit a68528479f
5 changed files with 11 additions and 47 deletions

View File

@@ -490,7 +490,6 @@ mod tests {
use super::*;
use crate::test_utils::*;
use pretty_assertions::assert_eq;
use tempfile::TempDir;
#[async_std::test]
async fn test_peerstate_save_to_db() {
@@ -636,11 +635,4 @@ mod tests {
assert_eq!(peerstate.gossip_key_fingerprint, None);
assert_eq!(peerstate.verified_key_fingerprint, None);
}
// TODO: don't copy this from stress.rs
#[allow(dead_code)]
struct TestContext {
ctx: Context,
dir: TempDir,
}
}