mapeditor/rs-tiled

Make TiledError non-exhaustive

Closed this issue · 2 comments

That way backwards-compatibility will be preserved when adding new error types.

bjorn commented

Hmm, is this just adding #[non_exhaustive] before the pub enum TiledError and possibly also the pub enum ParseTileError lines? Is there anything else to keep in mind?

If it's just that I'd say we should do this for 0.10 already.

Yes, it's just that.