Uplift FnSig
This commit is contained in:
@@ -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 => "",
|
||||
|
||||
Reference in New Issue
Block a user