@nikomatsakis While writing a HashMap in a live-stream today, I came across a bad (?) borrowck error that NLL doesn't fix. Specifically, this https://github.com/jonhoo/rust-basic-hashmap/blob/8b999e2d29213e1093ee4779abd95c4d22ab8c86/src/lib.rs#L96 … doesn't compile. I "fixed" it with some unsafe https://github.com/jonhoo/rust-basic-hashmap/commit/0c99333056fe6cdb90c051ad3999d35ea9948b0e#diff-b4aea3e418ccdb71239b96952d9cddb6R101 …, but don't think it should be needed?
-
-
Ah, interesting, thanks! Do you know if there's currently an open issue for this, or should I file one?
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.