We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 188373d commit fb4e845Copy full SHA for fb4e845
src/sdl2/video.rs
@@ -622,10 +622,6 @@ impl Error for SwapIntervalConversionError {}
622
impl From<i32> for SwapInterval {
623
/// This function is deprecated, use [`SwapInterval::try_from`] instead and handle the error.
624
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
- );
629
Self::try_from(i).unwrap()
630
}
631
0 commit comments