mirror of
https://github.com/krahets/hello-algo.git
synced 2026-11-01 21:24:27 +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:
@@ -118,7 +118,7 @@ int pop(LinkedListDeque *deque, bool isFront) {
|
||||
// Если в очереди один элемент, начало и конец указывают на один узел
|
||||
if (deque->queSize == 1) {
|
||||
val = deque->front->val;
|
||||
delDoublyListNode(deque->front); // Освобождаем общий узел один раз
|
||||
delDoublyListNode(deque->front); // Оба указателя указывают на один узел, поэтому достаточно освободить его один раз
|
||||
deque->front = NULL;
|
||||
deque->rear = NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user