Skip to content

Commit

Permalink
importer: Remove spurious semicolumns.
Browse files Browse the repository at this point in the history
These extras semicolumns were triggering
compiler warnings; get rid of them.

Signed-off-by: Benoît Canet <benoit@nodalink.com>
  • Loading branch information
benoit-canet authored and ogoffart committed Jul 29, 2021
1 parent 2b5badc commit b45aa8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/figma_import/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,11 @@ async fn load_from_network(opt: &Opt) -> Result<figmatypes::File, Box<dyn std::e
#[derive(Deserialize)]
struct ImageResult {
meta: ImageResultMeta,
};
}
#[derive(Deserialize)]
struct ImageResultMeta {
images: HashMap<String, String>,
};
}

let i: ImageResult = reqwest::Client::new()
.get(&format!("https://api.figma.com/v1/files/{}/images", opt.file))
Expand Down

0 comments on commit b45aa8d

Please sign in to comment.