aboutsummaryrefslogtreecommitdiff
path: root/src/debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/debug.c')
-rw-r--r--src/debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug.c b/src/debug.c
index f91accd..0908ee5 100644
--- a/src/debug.c
+++ b/src/debug.c
@@ -294,7 +294,7 @@ static void _type_str(FILE *fp, struct type *type)
fprintf(fp, "%s", trait_id(def));
}
- if (struct_params(def)) {
+ if (trait_params(def)) {
fprintf(fp, "![");
_param_str(fp, trait_params(def));
fprintf(fp, "]");