From c5344fadd9a032171eed799aa1d91dc9247c810f Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Tue, 19 Mar 2024 17:38:01 +0100 Subject: garbage_collector: Fix small doc typos --- src/buildtool/storage/garbage_collector.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/buildtool/storage/garbage_collector.cpp') diff --git a/src/buildtool/storage/garbage_collector.cpp b/src/buildtool/storage/garbage_collector.cpp index 01d803dc..82dbc8d2 100644 --- a/src/buildtool/storage/garbage_collector.cpp +++ b/src/buildtool/storage/garbage_collector.cpp @@ -160,7 +160,7 @@ auto GarbageCollector::TriggerGarbageCollection(bool no_rotation) noexcept int remove_me_counter{}; // after releasing the shared lock, wait to get an exclusive lock for doing - // the critical renamings + // the critical renaming { auto lock = ExclusiveLock(); if (not lock) { @@ -169,7 +169,7 @@ auto GarbageCollector::TriggerGarbageCollection(bool no_rotation) noexcept return false; } - // Frirst, while he have not yet created any to-remove directories, grab + // First, while he have not yet created any to-remove directories, grab // all existing remove-me directories; they're left overs, as the clean // up of owned directories is done with a shared lock. std::vector left_over{}; @@ -238,7 +238,7 @@ auto GarbageCollector::TriggerGarbageCollection(bool no_rotation) noexcept } } - // After releasing the exlusive lock, get a shared lock and remove what we + // After releasing the exclusive lock, get a shared lock and remove what we // have to remove bool success{}; { -- cgit v1.2.3