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.
2 parents ecb2dd1 + 6478d9e commit c1ea878Copy full SHA for c1ea878
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