Skip to content

Commit

Permalink
remove deprecated API when moon test --doc
Browse files Browse the repository at this point in the history
  • Loading branch information
illusory0x0 authored and bobzhang committed Jan 8, 2025
1 parent 593766b commit b7de36f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buffer/buffer.mbt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ pub(all) typealias Buffer = T
/// let buf = @buffer.new(size_hint=100)
/// buf.write_string("Tes")
/// buf.write_char('t')
/// assert_eq!(buf.to_unchecked_string(), "Test")
/// assert_eq!(buf.contents(), b"T\x00e\x00s\x00t\x00")
/// ```
struct T {
mut data : FixedArray[Byte]
Expand Down

0 comments on commit b7de36f

Please sign in to comment.