Skip to content

Commit c932e93

Browse files
fix(wow-m2): escape brackets in doc comment to fix rustdoc
The `[4]` in the event.rs doc comment was interpreted as an intra-doc link reference. Escape with backslashes to render as literal text.
1 parent d7dcba2 commit c932e93

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

file-formats/graphics/wow-m2/src/chunks/event.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ impl M2EventType {
5252
/// Represents an event in an M2 model
5353
///
5454
/// Event structure (44 bytes):
55-
/// - identifier[4]: Event name string (e.g., "$CAH", "$CST", "$HIT")
55+
/// - identifier\[4\]: Event name string (e.g., "$CAH", "$CST", "$HIT")
5656
/// - data: u32: Sound/spell database ID
5757
/// - bone: i16: Bone index to attach event to
5858
/// - unknown: u16: Unknown field (possibly padding or submesh ID)

0 commit comments

Comments
 (0)