Commit Graph

186 Commits

Author SHA1 Message Date
Mujeebullah Kalwar
2a92e3d65e Typo Fixed placefolder to placeholder 2023-07-20 02:40:36 +05:00
Mujeebullah Kalwar
0f97d37440 Typo Fixed straightfoward to straightforward 2023-07-20 02:40:08 +05:00
Sunface
d5f4b58d8c Merge pull request #411 from kewinzaq1/patch-1
fix: typo
2023-07-02 09:36:16 +08:00
Sunface
c84af0193f Merge pull request #412 from relaxcn/relaxcn-patch-1
fix the Markdown syntax error on variables.md shadowing
2023-07-02 09:35:15 +08:00
Sunface
b4d39f8bf9 Update en/src/pattern-match/patterns.md 2023-07-02 09:33:39 +08:00
shirjs
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
RelaxCN
1beecb464a fix the Markdown syntax error 2023-06-19 00:44:59 +08:00
Kewin Szlezingier
5a899e2329 fix: typo 2023-06-18 18:06:29 +02:00
Sunface
c594e378a3 Update en/src/lifetime/basic.md 2023-06-07 09:06:56 +08:00
bughou
c40b4f9e55 typo fix 2023-05-28 21:33:23 +08:00
Sunface
b92875b696 Merge pull request #393 from Coddeus/patch-1
Fixed typo "mush" line 106
2023-05-15 12:31:46 +08:00
Sunface
cc51dc7266 Update en/src/comments-docs.md 2023-05-15 12:31:31 +08:00
CoDeus
bbb45a5828 Fixed typo "mush" line 106 2023-04-18 08:52:42 +02:00
Sergey Kaunov
192a82ca2d Fix typo 2023-04-09 17:07:26 +03:00
Sunface
eb999976dd Merge pull request #387 from skaunov/patch-2
`from-into` small improvements
2023-04-09 21:05:29 +08:00
Sunface
219c38de8c Merge pull request #390 from zhaoshouhang/master
fix: remove spaces
2023-04-09 21:03:54 +08:00
zhaoshouhang
8e6993e25a fix: remove spaces 2023-04-07 13:40:23 +08:00
Sergey Kaunov
fdac246cfd Update from-into.md
rewording of the task to be less confusing
2023-04-05 18:23:40 +03:00
perro
4978def4f5 Repo added 2023-03-20 10:22:34 -07:00
Pawel Grzybek
311e2486eb Fix typo
From add_tow to add_two
2023-03-10 10:14:42 +00:00
Sunface
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
Mayowa Tudonu
9d52cd5a7a Update link to resource 2 (Building a text editor) 2023-02-02 15:06:50 +01:00
Zarkli Leonardo
1a5f76b00b fix: add and fix solution links 2023-01-20 20:01:54 +08:00
Sunface
d49d36ba8e Merge pull request #339 from Tanish-Eagle/edit
Edited the newtype
2022-12-25 13:06:41 +08:00
Tanish-Eagle
fc2446f4f8 Edited the newtype 2022-12-08 22:17:17 +05:30
wenzhe
d2a1bd170b docs: update 2022-12-07 11:42:03 +08:00
wenzhe
7cdef70a69 docs: update small project 2022-12-07 11:36:46 +08:00
Sunface
6883c069a1 Merge branch 'master' into master 2022-12-07 08:49:30 +08:00
Sunface
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
Sunface
6a45821798 Merge pull request #330 from RyuuSleek/master
Fix: fixed some formatting
2022-12-07 08:44:49 +08:00
Sunface
10d925cced Merge pull request #332 from lzy1960/master
fix: misleading words
2022-12-07 08:43:50 +08:00
Tanish-Eagle
fddd429a86 Edited the closures.md 2022-11-30 22:51:43 +05:30
Tanish-Eagle
eb00e97b2a Edited the iterator.md 2022-11-30 20:51:38 +05:30
lzy1960
e15352c399 fix: misleading words 2022-11-21 21:32:34 +08:00
RyuuSleek
58f37692ad Punctuation and grammar changes
I believe the implicit conversions of references is called "Deref coercion".
2022-11-14 05:09:39 +00:00
RyuuSleek
8398d28e7b Fix: typo 2022-11-14 04:20:19 +00:00
RyuuSleek
8329fff047 fixed some formatting 2022-11-13 04:55:57 +00:00
zafar hussain
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
katopz
a46840763e fix: change 、to . 2022-11-07 11:06:19 +07:00
katopz
14a2600176 fix: correct , to . 2022-11-07 11:02:49 +07:00
Sunface
8c499f89ef Merge branch 'master' into edit 2022-11-07 08:27:51 +08:00
Sunface
2ab2ab823d Merge pull request #319 from rbtcollins/patch-1
no -> not
2022-11-07 08:26:41 +08:00
Tanish-Eagle
47553f5207 Edited the advance.md 2022-10-29 15:40:38 +05:30
Tanish-Eagle
5e85e6630f Edited the static.md 2022-10-29 15:14:44 +05:30
Tanish-Eagle
e8fe2ebba2 Edited the basic.md 2022-10-29 14:52:00 +05:30
Robert Collins
9b6be7ac83 no -> not 2022-10-13 09:11:30 +02:00
katopz
168e004d28 fix: wrong ```` 2022-10-11 10:11:06 +07:00
katopz
81ea842fe7 fix: unnecessary space 2022-10-11 09:47:49 +07:00
katopz
de36f5cfb0 fix: unnecessary space 2022-10-11 09:44:22 +07:00
katopz
16e8f45ab8 fix: unnecessary space 2022-10-11 09:43:03 +07:00