We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5050e0e commit 461b60bCopy full SHA for 461b60b
cedar-policy-core/src/ast/name.rs
@@ -220,7 +220,11 @@ impl FromNormalizedStr for Name {
220
#[cfg(feature = "arbitrary")]
221
impl<'a> arbitrary::Arbitrary<'a> for Name {
222
fn arbitrary(u: &mut arbitrary::Unstructured<'a>) -> arbitrary::Result<Self> {
223
- Ok(Self::new(u.arbitrary()?, u.arbitrary()?, None))
+ Ok(Self {
224
+ id: u.arbitrary()?,
225
+ path: u.arbitrary()?,
226
+ loc: None,
227
+ })
228
}
229
230
0 commit comments