Skip to content

Remove NodeType::Unexpected #11

@explodes

Description

@explodes

It looks like NodeType::Unexpected is only created when loading a page that has a bad byte for the NodeType.

If we change impl From<u8> for NodeType to a TryFrom, we can remove this NodeType enum option altogether, which will simplify the rest of the library. Unfortunately that does have an impact on pub API.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions