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:
Yudong Jin
2026-10-27 18:19:11 +08:00
committed by GitHub
parent 350f483801
commit 71a773df64
149 changed files with 675 additions and 649 deletions

View File

@@ -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;
}