Skip to content

Commit

Permalink
fix: remove unused function warning
Browse files Browse the repository at this point in the history
  • Loading branch information
erwanvivien committed Oct 30, 2023
1 parent f827729 commit 876131f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/version.rs
Original file line number Diff line number Diff line change
Expand Up @@ -630,6 +630,7 @@ impl Version {
/// # Panics
/// Function panics if `n` is not included in `(21..=177).step_by(4)`
#[must_use]
#[cfg(any(test, feature = "svg", feature = "image", debug_assertions))]
pub(crate) const fn from_n(n: usize) -> Self {
use Version::{
V01, V02, V03, V04, V05, V06, V07, V08, V09, V10, V11, V12, V13, V14, V15, V16, V17,
Expand Down

0 comments on commit 876131f

Please sign in to comment.