Skip to content

Commit

Permalink
std::io: minor documentation improvement for the Scanner
Browse files Browse the repository at this point in the history
  • Loading branch information
mertcandav committed Aug 25, 2024
1 parent 33fb2a4 commit 2c9874a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions std/io/scan.jule
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ impl Scanner {

// Returns bytes of recent scan.
// Returned slice is mutable copy of buffer.
// The next [Scan] call will write into same internal allocation.
fn Bytes(self): []byte { ret self.b }

// Returns text from bytes of recent scan.
Expand Down

0 comments on commit 2c9874a

Please sign in to comment.