I noticed that as of version 0.12.0, the current_nickname() function was no longer documented. I've found that it still exists (and is marked pub) under impl ServerState.
I think the fix is making ServerState::current_nickname() private, and giving IrcServer a public method that calls current_nickname() on its ServerState.
I noticed that as of version
0.12.0
, thecurrent_nickname()
function was no longer documented. I've found that it still exists (and is markedpub
) underimpl ServerState
.I think the fix is making
ServerState::current_nickname()
private, and givingIrcServer
a public method that callscurrent_nickname()
on itsServerState
.