Skip to content

Commit 0ab9564

Browse files
cds-amaldkcumming
andcommitted
Update src/mk_graph/index.rs
Co-authored-by: Daniel Cumming <124537596+dkcumming@users.noreply.github.com>
1 parent 3547083 commit 0ab9564

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mk_graph/index.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ impl AllocEntry {
140140
let (kind, description) = match info.global_alloc() {
141141
GlobalAlloc::Memory(alloc) => {
142142
let bytes = &alloc.bytes;
143-
let is_str = ty_name.contains("str") || ty_name.contains("&str");
143+
let is_str = ty_name.contains("str");
144144

145145
// Convert Option<u8> bytes to actual bytes for display
146146
let concrete_bytes: Vec<u8> = bytes.iter().filter_map(|&b| b).collect();

0 commit comments

Comments
 (0)