summaryrefslogtreecommitdiff
path: root/rust/examples
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2025-12-09 13:24:47 -0500
committerMason Reed <35282038+emesare@users.noreply.github.com>2025-12-10 17:35:19 -0500
commit393d6dda437d848f51efacceb8618b937d9f08f3 (patch)
treeb4b1138df7b02fda82765763fe7b1c32268fc22c /rust/examples
parentb7af0a9b02319aba2875633e4348f459035a4b79 (diff)
[Rust] Impl `Display` for `Symbol`
Diffstat (limited to 'rust/examples')
-rw-r--r--rust/examples/simple.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/examples/simple.rs b/rust/examples/simple.rs
index c6065d48..f01d5267 100644
--- a/rust/examples/simple.rs
+++ b/rust/examples/simple.rs
@@ -17,7 +17,7 @@ fn main() {
println!("Function count: {}", bv.functions().len());
for func in &bv.functions() {
- println!("{:?}:", func.symbol().full_name());
+ println!("{}:", func.symbol());
for basic_block in &func.basic_blocks() {
// TODO : This is intended to be refactored to be more nice to work with soon(TM)
for addr in basic_block.as_ref() {