From de0d44d8d272e23e47cd8d89b7cbdeadeaed3966 Mon Sep 17 00:00:00 2001 From: Tomas Dvorak Date: Sat, 19 Sep 2026 12:39:12 +0200 Subject: [PATCH] =?UTF-8?q?test(desktop):=20mark=20windows-only=20doctest?= =?UTF-8?q?=20ignore=20=E2=80=94=20no=5Frun=20still=20compiles?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- desktop/crates/cloudreve-sync/src/drive/placeholder.rs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/desktop/crates/cloudreve-sync/src/drive/placeholder.rs b/desktop/crates/cloudreve-sync/src/drive/placeholder.rs index 567878ee..f23239c6 100644 --- a/desktop/crates/cloudreve-sync/src/drive/placeholder.rs +++ b/desktop/crates/cloudreve-sync/src/drive/placeholder.rs @@ -298,14 +298,12 @@ impl CrPlaceholder { /// /// # Example /// - /// ```no_run - /// use std::path::Path; - /// + /// ```ignore /// // Set error state on a file - /// update_sync_error_state(Path::new("C:\\MyFolder\\file.txt"), true)?; + /// placeholder.update_sync_error_state(true)?; /// /// // Clear error state - /// update_sync_error_state(Path::new("C:\\MyFolder\\file.txt"), false)?; + /// placeholder.update_sync_error_state(false)?; /// ``` pub fn update_sync_error_state(&self, set_error: bool) -> Result<()> { if !self.local_file_info.is_placeholder() {