Skip to content

Commit fb4e845

Browse files
committed
remove println from deprecated SwapInterval::from
1 parent 188373d commit fb4e845

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/sdl2/video.rs

-4
Original file line numberDiff line numberDiff line change
@@ -622,10 +622,6 @@ impl Error for SwapIntervalConversionError {}
622622
impl From<i32> for SwapInterval {
623623
/// This function is deprecated, use [`SwapInterval::try_from`] instead and handle the error.
624624
fn from(i: i32) -> Self {
625-
println!(
626-
"SwapInterval::from is deprecated (could be called from .into()), \
627-
use SwapInterval::try_from instead and handle the error"
628-
);
629625
Self::try_from(i).unwrap()
630626
}
631627
}

0 commit comments

Comments
 (0)