Skip to content

Commit

Permalink
src/string_scanner.cr: use struct for StringMatchData
Browse files Browse the repository at this point in the history
Co-authored-by: Johannes Müller <[email protected]>
  • Loading branch information
funny-falcon and straight-shoota authored Oct 27, 2023
1 parent c3d13b6 commit f9f7f3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/string_scanner.cr
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ class StringScanner
end

# :nodoc:
class StringMatchData
struct StringMatchData
def initialize(@str : String)
end

Expand Down

0 comments on commit f9f7f3b

Please sign in to comment.