test(desktop): mark windows-only doctest ignore — no_run still compiles

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
pull/3587/head
Tomas Dvorak 2 weeks ago
parent 2f3e1c5bf2
commit de0d44d8d2

@ -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() {

Loading…
Cancel
Save