Skip to content

Commit

Permalink
Update and rerun gen-protos
Browse files Browse the repository at this point in the history
  • Loading branch information
patowen committed Oct 5, 2024
1 parent 74b9378 commit 97e9fb2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion save/gen-protos/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ edition = "2021"
publish = false

[dependencies]
prost-build = "0.13.1"
prost-build = "0.13.3"
4 changes: 2 additions & 2 deletions save/src/protos.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ impl ComponentType {
/// (if the ProtoBuf definition does not change) and safe for programmatic use.
pub fn as_str_name(&self) -> &'static str {
match self {
ComponentType::Position => "POSITION",
ComponentType::Name => "NAME",
Self::Position => "POSITION",
Self::Name => "NAME",
}
}
/// Creates an enum from field names used in the ProtoBuf definition.
Expand Down

0 comments on commit 97e9fb2

Please sign in to comment.