1
Fork 0

Stylistic fix -- remove double impl

This commit is contained in:
Mark Rousskov 2019-09-13 14:11:10 -04:00
parent 6e0b0d4d70
commit 0ad789aa5b

View file

@ -222,9 +222,7 @@ impl SharedContext {
Ok(())
}
}
impl SharedContext {
/// Based on whether the `collapse-docs` pass was run, return either the `doc_value` or the
/// `collapsed_doc_value` of the given item.
pub fn maybe_collapsed_doc_value<'a>(&self, item: &'a clean::Item) -> Option<Cow<'a, str>> {