Sha256: bdfece9f91accafd5122be36d628c37c5b219ac0eecec181267840fbb1e95a45
Contents?: true
Size: 251 Bytes
Versions: 27
Compression:
Stored size: 251 Bytes
Contents
pub(super) fn abort(s: &str) -> ! { struct DoublePanic; impl Drop for DoublePanic { fn drop(&mut self) { panic!("panicking twice to abort the program"); } } let _bomb = DoublePanic; panic!("{}", s); }
Version data entries
27 entries across 27 versions & 1 rubygems