From 1bfae8b674740d827d693def37c2da70f9ab5948 Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Tue, 2 Dec 2025 08:55:35 -0700 Subject: [PATCH] fix incorrect type label in `TypeNames::mangle_name` Signed-off-by: Joel Dice --- src/summary.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/summary.rs b/src/summary.rs index 938fcb8..62755f4 100644 --- a/src/summary.rs +++ b/src/summary.rs @@ -2555,7 +2555,7 @@ impl<'a> TypeNames<'a> { } TypeDefKind::Future(ty) => { format!( - "stream_{}", + "future_{}", ty.map(|ty| self.mangle_name(ty)) .unwrap_or_else(|| "unit".into()) )