1
Fork 0

Uplift FnSig

This commit is contained in:
Michael Goulet 2024-05-15 13:54:37 -04:00
parent 1871252fc8
commit 312ba4da3c
11 changed files with 168 additions and 122 deletions

View file

@ -3191,7 +3191,7 @@ pub enum Unsafety {
}
impl Unsafety {
pub fn prefix_str(&self) -> &'static str {
pub fn prefix_str(self) -> &'static str {
match self {
Self::Unsafe => "unsafe ",
Self::Normal => "",