}
}
+#[inline]
+pub fn format_async(is_async: ast::IsAsync) -> &'static str {
+ match is_async {
+ ast::IsAsync::Async { .. } => "async ",
+ ast::IsAsync::NotAsync => "",
+ }
+}
+
#[inline]
pub fn format_constness(constness: ast::Constness) -> &'static str {
match constness {