LeopoldArkham / Molten

[WIP] Molten - Style-preserving TOML parser.
Apache License 2.0
40 stars 8 forks source link

Make StringType::delimiter() more ergonomic. #47

Closed markcol closed 6 years ago

markcol commented 6 years ago

Change StringType::delimiter() to use the type of self, rather than passing in the type to determine which delimiter to use. This also makes the delimiter() function consistent between the StringType and KeyType types.