Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
0xf90c committed Mar 29, 2024
1 parent 760e8cc commit 166f7dc
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions rustbook-uz/src/ch15-04-rc.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,7 @@ Keling kamchiligi bor bo‘lgan 15-5 ro‘yxat misolimizga qaytaylik. Esingizda

<span class="caption">15-3-shakl: Ikkita ro'yxatlar, ya'ni `b` va `c` egalikni uchinchi ro'yxat, ya'ni `a`ga ulashishi</span>

We’ll create list `a` that contains 5 and then 10. Then we’ll make two more
lists: `b` that starts with 3 and `c` that starts with 4. Both `b` and `c`
lists will then continue on to the first `a` list containing 5 and 10. In other
words, both lists will share the first list containing 5 and 10.
Biz 5 va 10 dan iborat bo‘lgan `a` ro‘yxatni yaratamiz. Keyin yana ikkita ro‘yxatni ham yaratamiz, ya’ni 3dan boshlanadigan `b` va 4dan boshlanadigan `c`. `b` va `c` ro‘yxatlari 5 va 10dan iborat bo‘lgan `a` ro‘yxatda davom etadi. Boshqacha qilib aytganda, ro‘yxatlar birinchi 5 va 10dan iborat bo‘lgan birinchi ro‘yxat bilan ulashishadi.

Trying to implement this scenario using our definition of `List` with `Box<T>`
won’t work, as shown in Listing 15-17:
Expand Down

0 comments on commit 166f7dc

Please sign in to comment.