Fix external doc errors

This commit is contained in:
Guillaume Gomez 2017-03-10 18:35:15 +01:00
parent b96fef8411
commit f6baea23ba
2 changed files with 2 additions and 2 deletions

View File

@ -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 {

View File

@ -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")?,
}