From 42b6f27fa6e1d9f1ec4ddc1b258ee340b04690ec Mon Sep 17 00:00:00 2001 From: Andrea Ciliberti Date: Sun, 19 Nov 2023 18:55:43 +0100 Subject: [PATCH] Fix tests --- ctru-rs/src/services/cam.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ctru-rs/src/services/cam.rs b/ctru-rs/src/services/cam.rs index 33a0753..dc76cf2 100644 --- a/ctru-rs/src/services/cam.rs +++ b/ctru-rs/src/services/cam.rs @@ -647,7 +647,7 @@ pub trait Camera: private::ConfigurableCamera { /// let mut inward = &mut cam.inner_cam; /// /// // We trim the image down so that it fits on a DS screen! - /// inward.set_trimming(Trimming::Centered(ViewSize::DS)); + /// inward.set_trimming(Trimming::new_centered_with_view(ViewSize::DS)); /// /// // This result will take into account the trimming. /// let final_resolution = inward.final_view_size();