Skip to content

Commit

Permalink
[Codegen]: Fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
satoshiotomakan committed Nov 24, 2023
1 parent d70277f commit 6f90dea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions codegen-v2/src/codegen/cpp/entry_generator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
use crate::codegen::cpp::cpp_source_directory;
use crate::codegen::template_generator::TemplateGenerator;
use crate::registry::CoinItem;
use crate::{Error, Result};
use crate::Result;
use std::fs;
use std::path::PathBuf;
use std::{fs, io};

const ENTRY_HEADER_TEMPLATE: &str = include_str!("templates/Entry.h");

Expand Down
4 changes: 2 additions & 2 deletions codegen-v2/src/codegen/rust/coin_crate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ use crate::codegen::rust::chains_directory;
use crate::codegen::template_generator::TemplateGenerator;
use crate::coin_id::CoinId;
use crate::registry::CoinItem;
use crate::{Error, Result};
use crate::Result;
use std::fs;
use std::path::PathBuf;
use std::{fs, io};

const BLOCKCHAIN_ADDRESS_TEMPLATE: &str = include_str!("templates/blockchain_crate/address.rs");
const BLOCKCHAIN_COMPILER_TEMPLATE: &str = include_str!("templates/blockchain_crate/compiler.rs");
Expand Down

0 comments on commit 6f90dea

Please sign in to comment.