Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

Fix rustdoc for format_project_name

Ilyaf72e79ac42b7
diff --git a/apps/desktop/src-tauri/src/recording.rs b/apps/desktop/src-tauri/src/recording.rs
index 195f74538..6ee3894eb 100644
--- a/apps/desktop/src-tauri/src/recording.rs
+++ b/apps/desktop/src-tauri/src/recording.rs
@@ -285,15 +285,11 @@ pub enum RecordingAction {
/// - `{moment:hh:mm A}` - 12-hour time with AM/PM
/// - `{moment:YYYY-MM-DD HH:mm}` - Combined custom format
///
-/// ## Examples
+/// ## Example
///
/// `{recording_mode} Recording {target_kind} ({target_name}) {date} {time}`
/// -> "Instant Recording Display (Built-in Retina Display) 2025-11-12 3:23 PM"
///
-/// `Cap {target} - {date} {time}`
-/// -> "Cap Display (Built-in Retina Display) - 2025-11-12 15:23"
-///
-///
/// # Arguments
///
/// * `template` - The template string with variables to replace