Incorrect doc of cedar_policy::Policy::annotation
#1383
Labels
internal-improvement
Refactoring, minor performance improvement, or other changes that Cedar users may never notice
Describe the improvement you'd like to request
The comment says that this function returns
None
only when the annotation is not present, which is not the case. It can also return None when the argument is not a valid Id.IMO, we should change the signature of this function for the next major release and at least fix the comment now.
Describe alternatives you've considered
N/A
Additional context
No response
Is this something that you'd be interested in working on?
The text was updated successfully, but these errors were encountered: