Fix incorrect behaviour if not resolved

This commit is contained in:
Mikhail Rakhmanov 2020-06-03 20:10:33 +02:00
parent 08aa8e1de7
commit a9d5675848

View File

@ -179,6 +179,7 @@ fn add_impl_multiple_files(
f: impl FnOnce(&mut AssistDirector),
) -> Option<()> {
if !self.resolve {
self.buf.push((label, None));
return None;
}
let mut director = AssistDirector::default();