Skip to content

Commit

Permalink
Rights "type" attribute is optional
Browse files Browse the repository at this point in the history
  • Loading branch information
hedgecrw committed Jun 13, 2024
1 parent 66053db commit 4238c1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion musicxml/src/datatypes/group_barline_value.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ pub enum GroupBarlineValue {
Yes,
/// ![No](https://hedgetechllc.github.io/musicxml/musicxml/datatypes/group-barline-value-no.png)
No,
/// ![Mensurstrich](https://hedgetechllc.github.io/musicxml/musicxml/datatypes/group-barline-value-mensurstrich.png)
/// ![Mensurstrich](https://hedgetechllc.github.io/musicxml/musicxml/datatypes/group-barline-value-Mensurstrich.png)
#[rename("Mensurstrich")]
Mensurstrich,
}
2 changes: 1 addition & 1 deletion musicxml/src/elements/rights.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use musicxml_macros::*;
pub struct RightsAttributes {
/// Standard type values are music, words, and arrangement, but other types may be used.
/// This attribute is only needed when there are multiple [Rights] elements.
pub r#type: Token,
pub r#type: Option<Token>,
}

/// The [Rights] element contains copyright and other intellectual property notices.
Expand Down

0 comments on commit 4238c1b

Please sign in to comment.