diff options
| author | Teddy Wing | 2018-10-22 23:47:15 +0200 |
|---|---|---|
| committer | Teddy Wing | 2018-10-22 23:47:38 +0200 |
| commit | aaca041a3eb0938ca00314aeb0ca1799d3804ba5 (patch) | |
| tree | 02596ce277370edf75c46e095d53c2cf7abc1262 /src/trial.rs | |
| parent | ef1f45b67921285493511c75f08ba00a56292b15 (diff) | |
| download | dome-key-map-aaca041a3eb0938ca00314aeb0ca1799d3804ba5.tar.bz2 | |
Add a description to `get_trial_start()`
Diffstat (limited to 'src/trial.rs')
| -rw-r--r-- | src/trial.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/trial.rs b/src/trial.rs index d8f3c2e..c37cd1f 100644 --- a/src/trial.rs +++ b/src/trial.rs @@ -43,6 +43,8 @@ fn initialize_trial_start() -> Result<()> { Ok(()) } +/// Decrypts the time string from the trial file and returns it as a +/// `DateTime`. fn get_trial_start() -> Result<DateTime<FixedOffset>> { let xdg_dirs = xdg::BaseDirectories::with_prefix("dome-key") .chain_err(|| "failed to get XDG base directories")?; |
