summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2022-03-21 12:01:40 +0200
committerLars Wirzenius <liw@liw.fi>2022-03-22 19:11:20 +0200
commit4c94c794ec805cf643826973e4f83826a1231e54 (patch)
treea01b1d726fba8e0d8176383eaa8861ff45a2fc21
parent4a9b26903d48d622f7f2a01eb54eec88e92da868 (diff)
downloadobnam2-4c94c794ec805cf643826973e4f83826a1231e54.tar.gz
fix: old typo in doc comment
Sponsored-by: author
-rw-r--r--src/client.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client.rs b/src/client.rs
index b58f89c..c4fbfec 100644
--- a/src/client.rs
+++ b/src/client.rs
@@ -147,7 +147,7 @@ impl BackupClient {
Ok(has)
}
- /// Upload a data chunk to the srver.
+ /// Upload a data chunk to the server.
pub async fn upload_chunk(&self, chunk: DataChunk) -> Result<ChunkId, ClientError> {
let enc = self.cipher.encrypt_chunk(&chunk)?;
let res = self