Skip to content

Commit

Permalink
エラー解消 cannot find type in this scope
Browse files Browse the repository at this point in the history
  • Loading branch information
Eigo-Mt-Fuji committed Aug 6, 2022
1 parent 900e4a8 commit f47a9cf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/block.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use super::block_hash::BlockHash;

use std::fmt::{ self, Debug, Formatter };
use crate::BlockHash;

pub struct Block {

Expand Down
3 changes: 3 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
mod block_hash;
pub use crate::block_hash::BlockHash;

mod block;
pub use crate::block::Block;

0 comments on commit f47a9cf

Please sign in to comment.