Skip to content

Commit d4c1a75

Browse files
committed
changed: fn now const
1 parent 43cb31f commit d4c1a75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ impl App {
5656
)
5757
}
5858

59-
pub fn cycle_output_fmt(&mut self) {
59+
pub const fn cycle_output_fmt(&mut self) {
6060
self.output_fmt = match self.output_fmt {
6161
OutputFmt::Line => OutputFmt::Bullet,
6262
OutputFmt::Bullet => OutputFmt::Line,

0 commit comments

Comments
 (0)