Skip to content

Commit cf65c78

Browse files
committed
chore: update imports
1 parent f3f0a8d commit cf65c78

File tree

1 file changed

+4
-3
lines changed
  • symbolic-ppdb/src/format

1 file changed

+4
-3
lines changed

symbolic-ppdb/src/format/mod.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ use watto::Pod;
1414
use symbolic_common::{DebugId, Language, Uuid};
1515

1616
use metadata::{
17-
CustomDebugInformation, CustomDebugInformationIterator, MetadataStream, Table, TableType,
17+
CustomDebugInformation, CustomDebugInformationIterator, CustomDebugInformationTag,
18+
MetadataStream, Table, TableType,
1819
};
1920
use sourcelinks::SourceLinkMappings;
2021
use streams::{BlobStream, GuidStream, PdbStream, StringStream, UsStream};
@@ -292,7 +293,7 @@ impl<'data> PortablePdb<'data> {
292293
for cdi in CustomDebugInformationIterator::new(&result, SOURCE_LINK_KIND)? {
293294
let cdi = cdi?;
294295
// Note: only handle module #1 (do we actually handle multiple modules in any way??)
295-
if let (metadata::CustomDebugInformationTag::Module, 1) = (cdi.tag, cdi.value) {
296+
if let (CustomDebugInformationTag::Module, 1) = (cdi.tag, cdi.value) {
296297
source_link_mappings.push(result.get_blob(cdi.blob)?);
297298
}
298299
}
@@ -435,7 +436,7 @@ impl<'object, 'data> Iterator for EmbeddedSourceIterator<'object, 'data> {
435436
match row {
436437
Err(e) => return Some(Err(e)),
437438
Ok(info) => {
438-
if let metadata::CustomDebugInformationTag::Document = info.tag {
439+
if let CustomDebugInformationTag::Document = info.tag {
439440
return Some(self.get_source(info));
440441
}
441442
}

0 commit comments

Comments
 (0)