Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upDebug representation of opaque structs #671
Comments
carllerche
added
the
help wanted
label
Aug 18, 2017
ahmedcharles
added a commit
to ahmedcharles/mio
that referenced
this issue
Aug 20, 2017
ahmedcharles
referenced this issue
Aug 20, 2017
Merged
Have consistent debug representation for opaque structs. #691
ahmedcharles
added a commit
to ahmedcharles/mio
that referenced
this issue
Aug 20, 2017
ahmedcharles
added a commit
to ahmedcharles/mio
that referenced
this issue
Aug 20, 2017
alexcrichton
closed this
in
#691
Aug 20, 2017
alexcrichton
added a commit
that referenced
this issue
Aug 20, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
dtolnay commentedAug 18, 2017
Currently the handling of opaque structs is inconsistent.
My preference is the one Registration uses, which is the most similar to what
#[derive(Debug)]would do.mio/src/poll.rs
Lines 1140 to 1144 in f1c59af
mio/src/poll.rs
Lines 1525 to 1530 in f1c59af
mio/src/sys/windows/tcp.rs
Lines 587 to 591 in f1c59af