Skip to content

Commit

Permalink
style: format default_shorthands.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Mar 20, 2024
1 parent 283967e commit a8ea813
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 28 deletions.
1 change: 0 additions & 1 deletion .mise/tasks/update-shorthand-repo
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ echo "]));" >>src/default_shorthands.rs

cat <<EOF >>src/default_shorthands.rs
#[rustfmt::skip]
pub static TRUSTED_SHORTHANDS: Lazy<HashSet<&'static str>> =
Lazy::new(|| HashSet::from([
EOF
Expand Down
56 changes: 29 additions & 27 deletions src/default_shorthands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -764,30 +764,32 @@ pub static DEFAULT_SHORTHANDS: Lazy<HashMap<&'static str, &'static str>> =
("zprint", "https://github.com/carlduevel/asdf-zprint.git"),
]));

#[rustfmt::skip]
pub static TRUSTED_SHORTHANDS: Lazy<HashSet<&'static str>> =
Lazy::new(|| HashSet::from([
"boundary",
"consul",
"dt",
"elixir",
"hub",
"levant",
"nomad",
"nomad-pack",
"packer",
"pipenv",
"poetry",
"rabbitmq",
"sentinel",
"serf",
"terraform",
"terraform-ls",
"tfc-agent",
"tiny",
"tuist",
"usage",
"vault",
"vlt",
"waypoint",
]));
pub static TRUSTED_SHORTHANDS: Lazy<HashSet<&'static str>> = Lazy::new(|| {
HashSet::from([
"boundary",
"consul",
"dt",
"elixir",
"flarectl",
"hub",
"jq",
"levant",
"nomad",
"nomad-pack",
"packer",
"pipenv",
"poetry",
"rabbitmq",
"sentinel",
"serf",
"terraform",
"terraform-ls",
"tfc-agent",
"tiny",
"tuist",
"usage",
"vault",
"vlt",
"waypoint",
])
});

0 comments on commit a8ea813

Please sign in to comment.