Skip to content

Better Debug instance for Op #121

@xrl

Description

@xrl

Could we make it so the "{:?}" formatting for an Op actually shows something? On Mac OS X it's an empty string. I have to do the following to make it better:

println!("'WRITE: {:?}' 'REMOVE: {:?}' 'CREATE: {:?}' '{:?}' ('{:?}')", op.contains(op::WRITE), op.contains(op::REMOVE), op.contains(op::CREATE), path, cookie)

Perhaps this kind of formatting could be put in to Debug?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions