Skip to content

Commit 449f873

Browse files
committed
Add auto-completion of team URLs
1 parent cb2b545 commit 449f873

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/generate_blog/src/main.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ use rust_team_data::v1::{Team, Teams};
88
const BASE_TEAM_WEBSITE_URL: &str = "https://www.rust-lang.org/governance/teams/";
99

1010
fn main() -> Result<(), Box<dyn Error>> {
11-
println!("\nHi, thanks for writing a post for the Rust blog!\n");
12-
1311
// If we cannot load teams, we won't provide any autocompletion, but the generate
1412
// command should still work.
1513
let team_data = match load_teams() {
@@ -20,6 +18,8 @@ fn main() -> Result<(), Box<dyn Error>> {
2018
}
2119
};
2220

21+
println!("\nHi, thanks for writing a post for the Rust blog!\n");
22+
2323
let title = Text::new("What's the title of your post?")
2424
.with_validator(|input: &str| {
2525
if input.is_empty() {

0 commit comments

Comments
 (0)