Skip to content

Commit 333ca99

Browse files
fix(wow-m2): wrap generic type in backticks for rustdoc
`M2AnimationBlock<f32>` was interpreted as an unclosed HTML tag. Wrap in backticks to render as inline code.
1 parent fecc2ce commit 333ca99

File tree

1 file changed

+1
-1
lines changed
  • file-formats/graphics/wow-m2/src

1 file changed

+1
-1
lines changed

file-formats/graphics/wow-m2/src/model.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1162,7 +1162,7 @@ fn relocate_event_offset(event: &mut M2Event, offset_map: &HashMap<u32, u32>) {
11621162

11631163
/// Relocates attachment animation offsets to new positions
11641164
///
1165-
/// Attachments have a single scale animation track (M2AnimationBlock<f32>).
1165+
/// Attachments have a single scale animation track (`M2AnimationBlock<f32>`).
11661166
fn relocate_attachment_animation_offsets(
11671167
attachment: &mut M2Attachment,
11681168
offset_map: &HashMap<u32, u32>,

0 commit comments

Comments
 (0)