Skip to content

Commit 9e3c85c

Browse files
committed
Remove Atom::with_str
1 parent 6db3edb commit 9e3c85c

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/atom.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -228,11 +228,6 @@ impl<Static: StaticAtomSet> Atom<Static> {
228228
pub fn get_hash(&self) -> u32 {
229229
((self.unsafe_data >> 32) ^ self.unsafe_data) as u32
230230
}
231-
232-
pub fn with_str<F, Output>(&self, cb: F) -> Output
233-
where F: FnOnce(&str) -> Output {
234-
cb(self)
235-
}
236231
}
237232

238233
impl<Static: StaticAtomSet> Default for Atom<Static> {

0 commit comments

Comments
 (0)