diff --git a/src/sdl2/video.rs b/src/sdl2/video.rs index ca38d4b11e..f90659b170 100644 --- a/src/sdl2/video.rs +++ b/src/sdl2/video.rs @@ -622,10 +622,6 @@ impl Error for SwapIntervalConversionError {} impl From for SwapInterval { /// This function is deprecated, use [`SwapInterval::try_from`] instead and handle the error. fn from(i: i32) -> Self { - println!( - "SwapInterval::from is deprecated (could be called from .into()), \ - use SwapInterval::try_from instead and handle the error" - ); Self::try_from(i).unwrap() } }