some experimental eventcode

This commit is contained in:
2022-10-23 22:32:30 +02:00
parent afc094e77a
commit fe363d2962
2 changed files with 63 additions and 2 deletions

View File

@ -200,8 +200,7 @@ impl Event {
})
}
/// Const version of [new], but panics on invalid input which is invalid group ID
/// values
/// Const version of [new], but panics on invalid group ID input values.
pub const fn const_new(
severity: Severity,
group_id: <Self as EventProvider>::GroupId,