Skip to content

Commit

Permalink
and now with 50% more correctness
Browse files Browse the repository at this point in the history
  • Loading branch information
danielschemmel committed Mar 8, 2024
1 parent a2cffbc commit 4f30f61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sample/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
build_info::build_info!(fn build_info);

// The same, but as a public function:
build_info::build_info!(pub fn build_info);
build_info::build_info!(pub fn pub_build_info);

fn main() {
// We can now either use the `build_info` function to work with the collected data at runtime...
Expand Down

0 comments on commit 4f30f61

Please sign in to comment.