Uplift FnSig
This commit is contained in:
parent
1871252fc8
commit
312ba4da3c
11 changed files with 168 additions and 122 deletions
|
@ -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 => "",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue