Skip to content

Commit

Permalink
Generate more verbose output
Browse files Browse the repository at this point in the history
  • Loading branch information
est31 committed Jun 14, 2017
1 parent e69f908 commit 1173ec8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/tools/unstable-book-gen/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,15 @@ macro_rules! t {

fn generate_stub_issue(path: &Path, name: &str, issue: u32) {
let mut file = t!(File::create(path));
println!("generating stub at {}", path.display());
t!(file.write_fmt(format_args!(include_str!("stub-issue.md"),
name = name,
issue = issue)));
}

fn generate_stub_no_issue(path: &Path, name: &str) {
let mut file = t!(File::create(path));
println!("generating stub (no issue) at {}", path.display());
t!(file.write_fmt(format_args!(include_str!("stub-no-issue.md"),
name = name)));
}
Expand Down

0 comments on commit 1173ec8

Please sign in to comment.