From a60febb71821e557f305a3d91aeb5ecc58bbc3f6 Mon Sep 17 00:00:00 2001 From: Michael Adelson Date: Sat, 24 Apr 2021 16:33:06 -0400 Subject: [PATCH] Minor readme fix --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6ba35b18..9a264159 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ DistributedLock is a .NET library that provides robust and easy-to-use distribut With DistributedLock, synchronizing access to a region of code across multiple applications/machines is as simple as: ```C# -using (await myDistributedLock.AcquireAsync()) +await using (await myDistributedLock.AcquireAsync()) { // I hold the lock here }