Remove unused name from CrateAnalysis
This commit is contained in:
parent
a1189ac058
commit
480d0f3a31
@ -122,7 +122,6 @@ mod sty;
|
||||
/// *on-demand* infrastructure.
|
||||
#[derive(Clone)]
|
||||
pub struct CrateAnalysis {
|
||||
pub name: String,
|
||||
pub glob_map: Option<hir::GlobMap>,
|
||||
}
|
||||
|
||||
|
@ -784,7 +784,6 @@ where
|
||||
},
|
||||
|
||||
analysis: ty::CrateAnalysis {
|
||||
name: crate_name.to_string(),
|
||||
glob_map: if resolver.make_glob_map {
|
||||
Some(resolver.glob_map)
|
||||
} else {
|
||||
|
@ -470,7 +470,6 @@ pub fn run_core(options: RustdocOptions) -> (clean::Crate, RenderInfo, RenderOpt
|
||||
}).collect(),
|
||||
};
|
||||
let analysis = ty::CrateAnalysis {
|
||||
name: name.to_string(),
|
||||
glob_map: if resolver.make_glob_map { Some(resolver.glob_map.clone()) } else { None },
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user