Skip to content

Commit

Permalink
Update cedar-policy/src/api.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Craig Disselkoen <cdiss@amazon.com>
  • Loading branch information
aaronjeline and cdisselkoen authored Sep 10, 2024
1 parent 3b8f933 commit e1058bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cedar-policy/src/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ impl Entity {
}

/// Create a new `Entity` with this Uid, parents, and no attributes.
/// This is the same as `Self::new` except the attributes are empty, and therefor it can
/// This is the same as `Self::new` except the attributes are empty, and therefore it can
/// return `Self` instead of `Result<Self>`
pub fn new_empty_attrs(uid: EntityUid, parents: HashSet<EntityUid>) -> Self {
Self(ast::Entity::new_empty_attrs(
Expand Down

0 comments on commit e1058bf

Please sign in to comment.