Rename rustdoc_json_types::Item.source to span

This commit is contained in:
Camelid
2021-03-09 21:25:54 -08:00
parent 7dd475e498
commit e190983bd3
3 changed files with 3 additions and 3 deletions

View File

@@ -64,7 +64,7 @@ pub struct Item {
pub name: Option<String>,
/// The source location of this item (absent if it came from a macro expansion or inline
/// assembly).
pub source: Option<Span>,
pub span: Option<Span>,
/// By default all documented items are public, but you can tell rustdoc to output private items
/// so this field is needed to differentiate.
pub visibility: Visibility,