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.
crate::utils::format_auto
1 parent a6872aa commit 8f8a6c0Copy full SHA for 8f8a6c0
1 file changed
src/utils.rs
@@ -117,16 +117,6 @@ pub(crate) fn format_safety(unsafety: ast::Safety) -> &'static str {
117
}
118
119
120
-// FIXME(ytmimi) might want to get rid of `format_auto` since we now have `HeaderPart::auto`
121
-#[allow(unused)]
122
-#[inline]
123
-pub(crate) fn format_auto(is_auto: ast::IsAuto) -> &'static str {
124
- match is_auto {
125
- ast::IsAuto::Yes => "auto ",
126
- ast::IsAuto::No => "",
127
- }
128
-}
129
-
130
#[inline]
131
pub(crate) fn format_mutability(mutability: ast::Mutability) -> &'static str {
132
match mutability {
0 commit comments