Commit Graph

188 Commits

Author SHA1 Message Date
b4d39f8bf9 Update en/src/pattern-match/patterns.md 2023-07-02 09:33:39 +08:00
a3b94a8871 Grammatical change from needs to requires
Both sentences are grammatically correct, as the verbs "requires" and "needs" can be used interchangeably in this context. However, the first sentence sounds more formal and is more commonly used in written English, especially in technical or academic contexts.

In the context of your sentences (which are about programming), the first sentence:

"Using pattern &mut V to match a mutable reference requires you to be very careful, due to V being a value after matching"

sounds more suitable. It implies that the action (using the pattern &mut V) necessitates caution on the part of the user, due to the specific circumstance (that V becomes a value after matching).

The second sentence:

"Using pattern &mut V to match a mutable reference needs you to be very careful, due to V being a value after matching"

is also correct but it sounds slightly less formal and is less commonly used in this kind of context. The verb "needs" is more often used to describe a necessity or requirement for a person or thing, rather than an action.
2023-06-19 08:19:39 +03:00
c594e378a3 Update en/src/lifetime/basic.md 2023-06-07 09:06:56 +08:00
c40b4f9e55 typo fix 2023-05-28 21:33:23 +08:00
b92875b696 Merge pull request #393 from Coddeus/patch-1
Fixed typo "mush" line 106
2023-05-15 12:31:46 +08:00
cc51dc7266 Update en/src/comments-docs.md 2023-05-15 12:31:31 +08:00
bbb45a5828 Fixed typo "mush" line 106 2023-04-18 08:52:42 +02:00
192a82ca2d Fix typo 2023-04-09 17:07:26 +03:00
eb999976dd Merge pull request #387 from skaunov/patch-2
`from-into` small improvements
2023-04-09 21:05:29 +08:00
a60f6b4b47 Merge pull request #389 from UncleFB/master
修复右侧翻页按钮被nav遮挡的问题
2023-04-09 21:04:30 +08:00
219c38de8c Merge pull request #390 from zhaoshouhang/master
fix: remove spaces
2023-04-09 21:03:54 +08:00
8e6993e25a fix: remove spaces 2023-04-07 13:40:23 +08:00
d5cf97580a 修复右侧翻页按钮被nav遮挡的问题 2023-04-06 23:51:01 +08:00
fdac246cfd Update from-into.md
rewording of the task to be less confusing
2023-04-05 18:23:40 +03:00
4978def4f5 Repo added 2023-03-20 10:22:34 -07:00
311e2486eb Fix typo
From add_tow to add_two
2023-03-10 10:14:42 +00:00
dbd9c9eff6 Merge pull request #360 from mayorcoded/patch-1
Update link to resource 2 (Building a text editor)
2023-02-13 10:51:20 +08:00
9d52cd5a7a Update link to resource 2 (Building a text editor) 2023-02-02 15:06:50 +01:00
1a5f76b00b fix: add and fix solution links 2023-01-20 20:01:54 +08:00
d49d36ba8e Merge pull request #339 from Tanish-Eagle/edit
Edited the newtype
2022-12-25 13:06:41 +08:00
fc2446f4f8 Edited the newtype 2022-12-08 22:17:17 +05:30
d2a1bd170b docs: update 2022-12-07 11:42:03 +08:00
7cdef70a69 docs: update small project 2022-12-07 11:36:46 +08:00
6883c069a1 Merge branch 'master' into master 2022-12-07 08:49:30 +08:00
b3a0c6313e Merge pull request #325 from zafar-hussain/patch-1
Adding an additional placeholder "__" on line 22 "Variables"
2022-12-07 08:45:38 +08:00
6a45821798 Merge pull request #330 from RyuuSleek/master
Fix: fixed some formatting
2022-12-07 08:44:49 +08:00
10d925cced Merge pull request #332 from lzy1960/master
fix: misleading words
2022-12-07 08:43:50 +08:00
fddd429a86 Edited the closures.md 2022-11-30 22:51:43 +05:30
eb00e97b2a Edited the iterator.md 2022-11-30 20:51:38 +05:30
e15352c399 fix: misleading words 2022-11-21 21:32:34 +08:00
58f37692ad Punctuation and grammar changes
I believe the implicit conversions of references is called "Deref coercion".
2022-11-14 05:09:39 +00:00
8398d28e7b Fix: typo 2022-11-14 04:20:19 +00:00
8329fff047 fixed some formatting 2022-11-13 04:55:57 +00:00
bb7aece3c4 Adding an additional placeholder "__" on line 22
Currently, on line 22 there is only a single placeholder "__",
whereas the correct answer is "mut x"

hence an extra "__" is added

line 22 :
current  :      let __ = 1;
propose :     let __ __ = 1;

Correct answer :  let mut x = 1;

cheers
2022-11-07 13:10:00 +05:00
a46840763e fix: change 、to . 2022-11-07 11:06:19 +07:00
14a2600176 fix: correct , to . 2022-11-07 11:02:49 +07:00
8c499f89ef Merge branch 'master' into edit 2022-11-07 08:27:51 +08:00
2ab2ab823d Merge pull request #319 from rbtcollins/patch-1
no -> not
2022-11-07 08:26:41 +08:00
47553f5207 Edited the advance.md 2022-10-29 15:40:38 +05:30
5e85e6630f Edited the static.md 2022-10-29 15:14:44 +05:30
e8fe2ebba2 Edited the basic.md 2022-10-29 14:52:00 +05:30
9b6be7ac83 no -> not 2022-10-13 09:11:30 +02:00
168e004d28 fix: wrong ```` 2022-10-11 10:11:06 +07:00
81ea842fe7 fix: unnecessary space 2022-10-11 09:47:49 +07:00
de36f5cfb0 fix: unnecessary space 2022-10-11 09:44:22 +07:00
16e8f45ab8 fix: unnecessary space 2022-10-11 09:43:03 +07:00
80efefae9e Merge pull request #311 from katopz/master
fix: cloure to closure
2022-10-11 10:17:16 +08:00
080495bd2f Merge pull request #312 from Tanish-Eagle/edit
Edit
2022-10-11 10:16:11 +08:00
5236143717 Merge pull request #313 from 3nt3/master
Fix spelling error, improve formatting
2022-10-11 10:15:13 +08:00
5f44f48eab Merge pull request #314 from JacksonUtsch/patch-1
Update Floating-Point 7 for compiler verification
2022-10-11 10:13:46 +08:00