~goorzhel/sota-slack-spotter

0665ef4027af3914ddf5b13902d573575f6b7332 — Antonio Gurgel 2 months ago ed7300e
No, no macro
1 files changed, 1 insertions(+), 1 deletions(-)

M src/main.rs
M src/main.rs => src/main.rs +1 -1
@@ 25,7 25,7 @@ fn main() -> Result<()> {
    let cache_dir = var("CACHE_DIR").unwrap_or_else(|_| "/tmp".into());
    let cache_dir = |filename: &str| format!("{}/{}", cache_dir, filename);

    // TODO: This could be macroed.
    // TONOTDO: Room for a macro here, but I don't envision any more types.
    let activation_cache = Cache::new(cache_dir("activations.json"));
    let callsign_cache = Cache::new(cache_dir("calls.json"));
    let spot_cache = Cache::new(cache_dir("spots.json"));