#![allow(unused_variables)] #![feature(btree_set_entry)] fn main() { use std::collections::BTreeSet; let mut set = BTreeSet::new(); let entry = set.entry("horseyland").insert(); assert_eq!(entry.get(), & "horseyland"); }