Skip to content

Commit

Permalink
make function hook pub
Browse files Browse the repository at this point in the history
  • Loading branch information
baoyachi committed Aug 23, 2021
1 parent 8eece8e commit 2d18353
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shadow-rs"
version = "0.7.0"
version = "0.7.1"
authors = ["baoyachi <[email protected]>"]
edition = "2018"
description = "A build-time information stored in your rust project"
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ pub struct Shadow {
}

impl Shadow {
fn hook<F>(&self, f: F) -> SdResult<()>
pub fn hook<F>(&self, f: F) -> SdResult<()>
where
F: FnOnce(&File) -> SdResult<()>,
{
Expand Down

0 comments on commit 2d18353

Please sign in to comment.