[PR Feedback] correct rustfmt errors (invitation_id)
@@ -697,8 +697,8 @@ async fn sub_origin_depart(ui: &mut UI, m: &ArgMatches<'_>) -> Result<()> {
async fn sub_accept_origin_invitation(ui: &mut UI, m: &ArgMatches<'_>) -> Result<()> {
let origin = required_value_of(m, "ORIGIN");
- let invitation_id = required_value_of(m, "INVITATION_ID")
- .parse()
+ let invitation_id =
+ required_value_of(m, "INVITATION_ID").parse()
.expect("INVITATION_ID should be valid at this point");
let url = bldr_url_from_matches(m)?;
let token = auth_token_param_or_env(m)?;
@@ -707,8 +707,8 @@ async fn sub_accept_origin_invitation(ui: &mut UI, m: &ArgMatches<'_>) -> Result
async fn sub_ignore_origin_invitation(ui: &mut UI, m: &ArgMatches<'_>) -> Result<()> {
let origin = required_value_of(m, "ORIGIN");
- let invitation_id = required_value_of(m, "INVITATION_ID")
- .parse()
+ let invitation_id =
+ required_value_of(m, "INVITATION_ID").parse()
.expect("INVITATION_ID should be valid at this point");
let url = bldr_url_from_matches(m)?;
let token = auth_token_param_or_env(m)?;
@@ -730,8 +730,8 @@ async fn sub_list_pending_origin_invitations(ui: &mut UI, m: &ArgMatches<'_>) ->
async fn sub_rescind_origin_invitation(ui: &mut UI, m: &ArgMatches<'_>) -> Result<()> {
let origin = required_value_of(m, "ORIGIN");
- let invitation_id = required_value_of(m, "INVITATION_ID")
- .parse()
+ let invitation_id =
+ required_value_of(m, "INVITATION_ID").parse()
.expect("INVITATION_ID should be valid at this point");
let url = bldr_url_from_matches(m)?;
let token = auth_token_param_or_env(m)?;
