Skip to content

Commit

Permalink
fix cedar_schema/fmt.rs for enumerated entities (#1454)
Browse files Browse the repository at this point in the history
Signed-off-by: Craig Disselkoen <cdiss@amazon.com>
  • Loading branch information
cdisselkoen authored Feb 6, 2025
1 parent 33bd811 commit 2305dba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cedar-policy-validator/src/cedar_schema/fmt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ impl<N: Display> Display for json_schema::EntityType<N> {
json_schema::EntityTypeKind::Standard(ty) => ty.fmt(f),
json_schema::EntityTypeKind::Enum { choices } => write!(
f,
"[{}]",
" enum [{}]",
choices
.iter()
.map(|e| format!("\"{}\"", e.escape_debug()))
Expand Down

0 comments on commit 2305dba

Please sign in to comment.