fix all clippy lints and improve code quality #19
Loading…
Reference in a new issue
No description provided.
Delete branch "missing/dircord:master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
add .gitignore
Can you refactor lines 96 and 97 to use
first_char
instead of the first byte?whoops, i think i changed that in the process of fixing the "panic on funny nickname" issue but i see that it makes no difference
You can probably remove the block at line 335
no, if i do so the lock will be held until the end of the
fn
, through theselect!
I meant actually use the first_char that you compute using the loop (this is for people with unicode nicknames btw)
Yeah you're right, I didn't see that
first_char
in the loop was not actually the first char: it was the offset to the end of the first char, or the offset to the start of the second char. fixed up the weird naming and also usedchar_indicies
for thesecond_char_offset
Alright LGTM, merging