Skip to content

Commit

Permalink
fix an import error made earlier
Browse files Browse the repository at this point in the history
  • Loading branch information
CommanderStorm committed Sep 25, 2024
1 parent aced659 commit 2db4897
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions martin/src/args/root.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
use std::collections::BTreeMap;
use std::path::PathBuf;

use clap::Parser;
Expand All @@ -10,7 +9,6 @@ use crate::args::srv::SrvArgs;
use crate::config::Config;
#[cfg(any(feature = "mbtiles", feature = "pmtiles", feature = "sprites"))]
use crate::file_config::FileConfigEnum;
use crate::sprites::SpriteConfig;
use crate::MartinError::ConfigAndConnectionsError;
use crate::{MartinResult, OptOneMany};

Expand Down Expand Up @@ -119,8 +117,8 @@ impl Args {
if !self.extras.sprite.is_empty() {
config.sprites = FileConfigEnum::new_extended(
self.extras.sprite,
BTreeMap::new(),
SpriteConfig {
std::collections::BTreeMap::new(),
crate::sprites::SpriteConfig {
make_sdf: self.extras.make_sdf,
..Default::default()
},
Expand Down

0 comments on commit 2db4897

Please sign in to comment.