summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2019-05-26 14:33:17 -0700
committerManish Goregaokar <manishsmail@gmail.com>2019-05-26 14:33:17 -0700
commit883aaae5752a91fca7503deed09e983e6b01e7e6 (patch)
tree2b7317c8a881acd7fa7d6ee9d32ba29fccf1168b /src
parent263a75cc38ea9b906a194e7396f13de19b31dbee (diff)
Format
Diffstat (limited to 'src')
-rw-r--r--src/main.rs15
1 files changed, 12 insertions, 3 deletions
diff --git a/src/main.rs b/src/main.rs
index 1c583fe..1b45257 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -23,7 +23,10 @@ enum Cli {
DumpTeam { name: String },
#[structopt(name = "dump-list", help = "print all the emails in a list")]
DumpList { name: String },
- #[structopt(name = "dump-website", help = "Dump website internationalization data as a .ftl file")]
+ #[structopt(
+ name = "dump-website",
+ help = "Dump website internationalization data as a .ftl file"
+ )]
DumpWebsite,
#[structopt(
name = "dump-permission",
@@ -78,12 +81,18 @@ fn run() -> Result<(), Error> {
}
}
Cli::DumpWebsite => {
- println!("# Autogenerated by `cargo run website-data` in https://github.com/rust-lang/team");
+ println!(
+ "# Autogenerated by `cargo run website-data` in https://github.com/rust-lang/team"
+ );
for team in data.teams() {
if let Some(ref website) = team.website_data() {
let name = team.name();
println!("governance-team-{}-name = {}", name, website.name());
- println!("governance-team-{}-description = {}\n", name, website.description());
+ println!(
+ "governance-team-{}-description = {}\n",
+ name,
+ website.description()
+ );
}
}
}