Skip to content

Commit c7132d1

Browse files
Bump to anweiss/cddl ast-parent-pointer (#106)
1 parent 57ed9cb commit c7132d1

File tree

3 files changed

+17
-7
lines changed

3 files changed

+17
-7
lines changed

Cargo.lock

Lines changed: 15 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ edition = "2018"
55

66
[dependencies]
77
cbor_event = "2.1.3"
8-
cddl = { git = 'https://github.com/dcSpark/cddl', branch = 'fix-group-comments' }
8+
cddl = { git = 'https://github.com/anweiss/cddl', branch = 'dcSpark-ast-parent-pointer' }
99
clap = { version = "~3.1.5", features = ["derive"] }
1010
codegen = "0.1.3"
1111
either = "1.5.3"

src/parsing.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,7 @@ fn group_entry_optional(entry: &GroupEntry) -> bool {
719719
occur
720720
.as_ref()
721721
.map(|o| match o.occur {
722-
Occur::Optional(_) => true,
722+
Occur::Optional { .. } => true,
723723
_ => false,
724724
})
725725
.unwrap_or(false)

0 commit comments

Comments
 (0)