Fix external doc errors
This commit is contained in:
parent
b96fef8411
commit
f6baea23ba
@ -838,10 +838,10 @@ impl<T: Default, E> Result<T, E> {
|
||||
///
|
||||
/// assert_eq!(1909, good_year);
|
||||
/// assert_eq!(0, bad_year);
|
||||
/// ```
|
||||
///
|
||||
/// [`parse`]: ../../std/primitive.str.html#method.parse
|
||||
/// [`FromStr`]: ../../std/str/trait.FromStr.html
|
||||
/// ```
|
||||
#[inline]
|
||||
#[stable(feature = "result_unwrap_or_default", since = "1.16.0")]
|
||||
pub fn unwrap_or_default(self) -> T {
|
||||
|
@ -100,7 +100,7 @@ impl Formatter for HTMLFormatter {
|
||||
|
||||
// Description rendered as markdown.
|
||||
match info.description {
|
||||
Some(ref desc) => write!(output, "{}", Markdown(desc))?,
|
||||
Some(ref desc) => write!(output, "{}", Markdown(desc, false))?,
|
||||
None => write!(output, "<p>No description.</p>\n")?,
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user