We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2c6f80 commit 6478d9eCopy full SHA for 6478d9e
src/utils.rs
@@ -111,6 +111,7 @@ pub(crate) fn format_defaultness(defaultness: ast::Defaultness) -> &'static str
111
pub(crate) fn format_safety(unsafety: ast::Safety) -> &'static str {
112
match unsafety {
113
ast::Safety::Unsafe(..) => "unsafe ",
114
+ ast::Safety::Safe(..) => "safe ",
115
ast::Safety::Default => "",
116
}
117
0 commit comments