Skip to content

Commit

Permalink
Fix an attribute definition
Browse files Browse the repository at this point in the history
  • Loading branch information
msuchane committed Feb 26, 2024
1 parent e2e28d3 commit 563d6da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion example/attributes.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
:ProductNumber: 1.2.3
// The product name with the current version
:Product: {ProductName}{nbsp}{ProductNumber}
:ProductShort: {ProductName}{nbsp}{ProductNumber}
:ProductShort: {ProductShortName}{nbsp}{ProductNumber}

// The name of the book
:ProjectName: Release notes for {ProductShort}
Expand Down
2 changes: 1 addition & 1 deletion src/extra_fields.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ impl TryFrom<&str> for DocTextStatus {
"?" | "proposed" | "in progress" | "unset" => Ok(Self::InProgress),
// TODO: Does "Upstream only" really mean to skip this RN?
"-" | "rejected" | "upstream only" => Ok(Self::NoDocumentation),
_ => bail!("Unrecognized doc text status value: {:?}", string),
_ => Err(eyre!("Unrecognized doc text status value: {:?}", string)),
}
}
}
Expand Down

0 comments on commit 563d6da

Please sign in to comment.