Skip to content

Commit

Permalink
chore(pumpkin/src/main): add unused function to trigger clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
DataM0del committed Dec 26, 2024
1 parent 76f75c4 commit 74ec8e7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pumpkin/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ fn scrub_address(ip: &str) -> String {
}
}

fn unused_function() {

Check failure

Code scanning / clippy

function unused_function is never used Error

function unused\_function is never used

Check failure

Code scanning / clippy

function unused_function is never used Error

function unused\_function is never used
println!("I'm unused!")

Check failure

Code scanning / clippy

consider adding a ; to the last statement for consistent formatting Error

consider adding a ; to the last statement for consistent formatting

Check failure

Code scanning / clippy

use of println! Error

use of println!

Check failure

Code scanning / clippy

consider adding a ; to the last statement for consistent formatting Error

consider adding a ; to the last statement for consistent formatting

Check failure

Code scanning / clippy

use of println! Error

use of println!
}

fn init_logger() {
use pumpkin_config::ADVANCED_CONFIG;
if ADVANCED_CONFIG.logging.enabled {
Expand Down

0 comments on commit 74ec8e7

Please sign in to comment.