Fix rustdoc warning

This commit is contained in:
Dirkjan Ochtman 2022-02-01 11:57:04 +01:00 committed by masalachai
parent 88eb9b9cab
commit 95b62891c9
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ pub struct GMonthDay {
}
// Taken from https://github.com/lumeohq/xsd-parser-rs/blob/main/xsd-types/src/types/gmonthday.rs
/// Represents a gMonthDay type https://www.w3.org/TR/xmlschema-2/#gMonthDay
/// Represents a gMonthDay type <https://www.w3.org/TR/xmlschema-2/#gMonthDay>
impl GMonthDay {
pub fn new(month: u8, day: u8, timezone: Option<FixedOffset>) -> Result<Self, String> {
if !(1..=12).contains(&month) {