Expand description
Items relating to puzzle input.
Structs§
- Input
Error - Error type that shows the error’s location in the input, returned by puzzle
new
functions.
Enums§
- Input
Type - Enum for distinguishing between example and real inputs.
Traits§
- MapWith
Input Ext - Extension trait to simplify converting errors and locations into
InputError
s. - ToIndex
- Helper trait to simplify error location tracking.
Functions§
- strip_
final_ newline - Strips the final newline from a borrowed string.
- to_
lf_ crlf - Convert a string to both LF and CRLF if it contains a newline.