Skip to main content

clear

Function clear 

Source
pub unsafe fn clear()
Expand description

Invalidates all interner entries and clears the interner.

ยงSafety

There must not exist any references to the underlying interner string at the time of calling this function.

In essence, you must not be within a call to InternerEntry::with, on any thread.