From dc8993b56b8b0842243bbc07b06a4dcda4b409c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Oliveira?= Date: Wed, 27 May 2020 17:19:35 +0100 Subject: [PATCH] fix typo on Set command apply function: Get should be Set (#52) --- src/cmd/set.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd/set.rs b/src/cmd/set.rs index 10595a5..72f6376 100644 --- a/src/cmd/set.rs +++ b/src/cmd/set.rs @@ -105,7 +105,7 @@ impl Set { Ok(Set { key, value, expire }) } - /// Apply the `Get` command to the specified `Db` instance. + /// Apply the `Set` command to the specified `Db` instance. /// /// The response is written to `dst`. This is called by the server in order /// to execute a received command.