Skip to content

Commit 1558880

Browse files
committed
Add missing escape_brackets
1 parent f6a8402 commit 1558880

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/generate/register.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ pub fn fields(
374374
}
375375
}
376376

377-
let description = &f.description;
377+
let description = &util::escape_brackets(&f.description);
378378
let sc = &f.sc;
379379
r_impl_items.push(quote! {
380380
#[doc = #description]

0 commit comments

Comments
 (0)