Skip to content

Commit

Permalink
fix comment, remove unnecessary allow(dead_code)
Browse files Browse the repository at this point in the history
  • Loading branch information
djmitche committed Dec 24, 2023
1 parent 0cd1f8a commit 58ed7ee
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion taskchampion/taskchampion/src/server/crypto.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#![allow(dead_code)] // temporary
/// This module implements the encryption specified in the sync-protocol
/// document.
use crate::errors::{Error, Result};
Expand Down
2 changes: 1 addition & 1 deletion taskchampion/taskchampion/src/server/sync/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const HISTORY_SEGMENT_CONTENT_TYPE: &str = "application/vnd.taskchampion.history
/// The content-type for snapshots (opaque blobs of bytes)
const SNAPSHOT_CONTENT_TYPE: &str = "application/vnd.taskchampion.snapshot";

/// A RemoeServer communicates with a taskchampion-sync-server over HTTP .
/// A SyncServer communicates with a sync server over HTTP.
impl SyncServer {
/// Construct a new SyncServer. The `origin` is the sync server's protocol and hostname
/// without a trailing slash, such as `https://tcsync.example.com`. Pass a client_id to
Expand Down

0 comments on commit 58ed7ee

Please sign in to comment.