mirror of
https://github.com/krahets/hello-algo.git
synced 2026-10-30 12:16:13 +08:00
fix(ru): align proofreading corrections with the Simplified Chinese original (#2004)
* docs(ru): correct proofreading issues in prose and code examples * docs(ru): align proofreading edits with Simplified Chinese source * fix(ru): repair generated Zig statements and complete comment translations
This commit is contained in:
@@ -87,7 +87,7 @@ class LinkedListDeque {
|
||||
// Если в очереди один элемент, начало и конец указывают на один узел
|
||||
if (queSize == 1) {
|
||||
val = front->val;
|
||||
delete front; // Освобождаем общий узел один раз
|
||||
delete front; // Оба указателя указывают на один узел, поэтому достаточно освободить его один раз
|
||||
front = nullptr;
|
||||
rear = nullptr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user