@@ -8,7 +8,8 @@ extern crate scopeguard;
use rand::{thread_rng, Rng};
-mod config;
+// This is to remove the annoying "unused code in config" warnings.
+pub mod config;
#[test]
fn basic_agreement() -> config::Result<()> {
@@ -6,7 +6,8 @@ extern crate ruaft;
#[macro_use]
extern crate scopeguard;
fn initial_election() -> config::Result<()> {
@@ -12,7 +12,8 @@ use std::sync::Arc;
fn persist() -> config::Result<()> {