Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Commit

Permalink
add doc comments to commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Cielquan committed Dec 6, 2021
1 parent 998ac8f commit 4628f8e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions src-tauri/src/commands/init.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//! Commands used while the programm's init
use crate::state::status_states::PageInit;
use crate::state::PageInitState;

Expand Down
1 change: 1 addition & 0 deletions src-tauri/src/commands/logging.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//! Commands to log messages from the frontend via the app's tracer
#[tauri::command]
pub fn log_error(target: String, message: String, location: String) {
let frontend_target = format!("frontend__{}", target);
Expand Down
1 change: 1 addition & 0 deletions src-tauri/src/commands/state.rs
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
//! Commands for working with the state managed by tauri
pub mod get;
pub mod set;
1 change: 1 addition & 0 deletions src-tauri/src/commands/state/get.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//! Commands to get data from the state managed by tauri from the frontend
use crate::config::Config;
use crate::state::public_holidays::PublicHolidays;
use crate::state::school_holidays::SchoolHolidays;
Expand Down
1 change: 1 addition & 0 deletions src-tauri/src/commands/state/set.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//! Commands to set data from the state managed by tauri from the frontend
use crate::config::Config;
use crate::state::public_holidays::PublicHolidays;
use crate::state::school_holidays::SchoolHolidays;
Expand Down

0 comments on commit 4628f8e

Please sign in to comment.