Uh oh!
There was an error while loading. Please reload this page.
Implement get_pair for HashMap - #46992
Conversation
rust-highfive
commented
Dec 25, 2017
r? @Kimundi (rust_highfive has picked a reviewer for you, use r? to override) |
ghost
commented
Dec 25, 2017
Any reason for not adding the same method to |
Diggsey
commented
Dec 25, 2017
No, it just wasn't mentioned in the issue - I will add it there too. |
nvzqz
commented
Dec 25, 2017
Is it possible to have |
Diggsey
commented
Dec 25, 2017
@nvzqz The entry api covers that case |
nvzqz
commented
Dec 25, 2017
The entry api requires passing an owned key ( |
alexcrichton
commented
Jan 4, 2018
ping @rust-lang/libs, thoughts on this API/naming? |
sfackler
commented
Jan 9, 2018
#47259 added |
RReverser
commented
Jan 18, 2018
I'll back |
Although |
1f2c12c to
e3d84d1Comparee3d84d1 to
3342ae7CompareDiggsey
commented
Jan 31, 2018
I've added the BTreeMap method too. I'm not going to add the mutable versions as part of this PR as I think there are still some questions about what the API should look like. |
aturon
commented
Feb 7, 2018
Sorry for the delay on this from the libs team! I think that How about |
emilyalbini
commented
Feb 19, 2018
@Diggsey someone from the libs team replied with a suggestion for another name, can you implement that? |
emilyalbini
commented
Feb 26, 2018
@Diggsey thanks for taking the time to send this PR! Unfortunately, there was no activity for more than two weeks, so I'm closing it. If you have time to work on it again, feel free to open another PR with the new changes, we'll be happy to review and merge it! |
…mulacrum Implement get_key_value for HashMap, BTreeMap Fixesrust-lang#43143 Follow up from rust-lang#46992
…mulacrum Implement get_key_value for HashMap, BTreeMap Fixesrust-lang#43143 Follow up from rust-lang#46992
We won't need this when rust-lang/rust#46992 is implemented, but for now this is the easiest (and safe) way to untie Filter AST from its string representation, so it can live as long as the context does.
We won't need this when rust-lang/rust#46992 is implemented, but for now this is the easiest (and safe) way to untie Filter AST from its string representation, so it can live as long as the context does.
We won't need this when rust-lang/rust#46992 is implemented, but for now this is the easiest (and safe) way to untie Filter AST from its string representation, so it can live as long as the context does.
Fixes#43143