Skip to content

Commit

Permalink
rm raises from bytes func
Browse files Browse the repository at this point in the history
  • Loading branch information
thatstoasty committed Apr 2, 2024
1 parent e3e9323 commit 42dc91f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gojo/bytes/buffer.mojo
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ struct Buffer(
self.off = 0
self.last_read = OP_INVALID

fn bytes(self) raises -> List[Byte]:
fn bytes(self) -> List[Byte]:
"""Returns a slice of length self.buf.capacity holding the unread portion of the buffer.
The slice is valid for use only until the next buffer modification (that is,
only until the next call to a method like [Buffer.read], [Buffer.write], [Buffer.reset], or [Buffer.truncate]).
Expand Down

0 comments on commit 42dc91f

Please sign in to comment.