Skip to content

Commit

Permalink
chore(autofmt): Automated formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Dec 13, 2024
1 parent 15e2b47 commit bede2ba
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions sqlc-gen-ftl/src/protos/xyz.block.ftl.v1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,6 @@ pub enum ConfigProvider {
Inline = 1,
/// Print configuration as environment variables.
Envar = 2,
/// Use the database as a configuration store.
Db = 3,
}
impl ConfigProvider {
/// String value of the enum field names used in the ProtoBuf definition.
Expand All @@ -185,7 +183,6 @@ impl ConfigProvider {
Self::Unspecified => "CONFIG_PROVIDER_UNSPECIFIED",
Self::Inline => "CONFIG_PROVIDER_INLINE",
Self::Envar => "CONFIG_PROVIDER_ENVAR",
Self::Db => "CONFIG_PROVIDER_DB",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
Expand All @@ -194,7 +191,6 @@ impl ConfigProvider {
"CONFIG_PROVIDER_UNSPECIFIED" => Some(Self::Unspecified),
"CONFIG_PROVIDER_INLINE" => Some(Self::Inline),
"CONFIG_PROVIDER_ENVAR" => Some(Self::Envar),
"CONFIG_PROVIDER_DB" => Some(Self::Db),
_ => None,
}
}
Expand Down

0 comments on commit bede2ba

Please sign in to comment.