Commit Graph

671 Commits

Author SHA1 Message Date
819d9d414a Merge pull request #472 from XuGuangnian/patch-2
add trim for Q3 of type-conversions
2023-11-02 16:37:49 +08:00
91724a5136 add trim() for Q3 of type-conversions
add `.map(|x| x.trim()) ` for Q3 of type-conversions
增加`"3, 4"`答案中有空格的情况
2023-11-02 14:25:44 +08:00
f6e96bc9f9 Merge pull request #465 from oggy107/patch-1
fix grammar mistake
2023-10-21 08:44:09 +08:00
73db9a9e9d Merge pull request #466 from DiogoJorge1401/patch-1
fix typos
2023-10-21 08:43:36 +08:00
44a03b293d Merge pull request #468 from dongxuwang/patch-1
Update why-exercise.md
2023-10-21 08:42:58 +08:00
8bb23cd88e Update why-exercise.md 2023-10-21 08:29:12 +08:00
238d4cead7 fix typos 2023-10-16 12:43:59 -03:00
ba5f4cb5a6 fix grammar mistake
removed unnecessary `even` word
2023-10-15 19:52:34 +05:30
76f787a1fb Merge pull request #458 from neg3ntropy/patch-1
Small language fix in string.md
2023-10-09 09:22:08 +08:00
2232e9f058 Merge pull request #461 from caaaaaat6/master
Update result.md,修改了错别字:zh-CN/src/result-panic/result.md,第5题“简介”->”简洁“
2023-10-09 09:21:01 +08:00
3ece67206b Merge pull request #462 from DannyCeb/master
Correct variable name inside the comment on the for loop.
2023-10-09 09:20:41 +08:00
f9d168af37 Correct variable name inside for loop 2023-10-05 12:15:24 -06:00
18c7443e73 Update result.md,修改了错别字:zh-CN/src/result-panic/result.md,第5题‘// 重写上面的 ,让它尽量简介’注释中的‘简介’->‘简洁’ 2023-10-02 16:07:38 +08:00
e72791b9eb Small language fix in string.md 2023-09-20 11:24:21 +02:00
722b969100 Merge pull request #423 from MujeebullahKalwar/typo-fixes
Typo Fixes
2023-08-11 10:56:33 +08:00
de64353ab6 Merge pull request #424 from MujeebullahKalwar/comment-widget-fix
Fixed Footer `giscus` Comments Widget
2023-08-11 10:56:05 +08:00
7c67918f5f Merge pull request #433 from maorit/fix_solution_link_pattern_match
fix solution linkage of en/src/pattern-match/match-iflet.md
2023-08-11 10:55:28 +08:00
751eabf264 Merge pull request #434 from maorit/fix_type_method
fix typo: 'assotiated' -> 'associated'
2023-08-11 10:55:02 +08:00
2042a8d1e1 Merge pull request #436 from maorit/fix_typo_const_generics
format code in solutions/generics-traits/const-generics.md
2023-08-11 10:52:42 +08:00
2e68fa3c26 Merge pull request #437 from maorit/fix_typo_traits
fix typo: in generics-traits/traits, change the name of variable `_this_is_true` to its intended name of `_this_is_false`.
2023-08-11 10:52:26 +08:00
17ac1593ff Merge pull request #441 from blattgold/master-1
slice.md, fixed gramatical error
2023-08-11 10:51:33 +08:00
ffb4d2e455 Merge pull request #438 from maorit/fix_typo_traits2
fix typo: 'mentiond' -> 'mentioned'
2023-08-11 10:51:15 +08:00
558d646671 Merge pull request #442 from maorit/fix_url_jump_bug
fix page jump bug between two language: set filename of `zh-CN/src/collections/String.md` into `string.md`, in corresponding to english version, sothat can jump to correct page between english version and chinese version.
2023-08-11 10:50:46 +08:00
53fb442249 Merge pull request #443 from maorit/format_code_collections_vector
format code: format code in `solutions/collections/Vector.md`
2023-08-11 10:50:02 +08:00
8516b05c23 Merge pull request #444 from maorit/format_code_type_conversion_from_into
format code: format code in `type-conversions/from-into`
2023-08-11 10:49:39 +08:00
9f2605bf6b format code: format code in type-conversions/from-into 2023-08-06 22:30:24 +08:00
315dbdd2b6 format code: format code in solutions/collections/Vector.md 2023-08-06 20:38:15 +08:00
efde24ba43 fix bug: set filename of zh-CN/src/collections/String.md into string.md, in corresponding to english version, sothat can jump to correct page between english version and chinese version. 2023-08-06 19:49:56 +08:00
7eb79a3d81 slice.md, fixed gramatical error
If you want know more -> If you want to know more
2023-08-05 22:42:31 +02:00
78b6b5c0f2 fix typo: 'mentiond' -> 'mentioned' 2023-08-05 22:03:09 +08:00
4c86411100 fix typo: in generics-traits/traits, change the name of variable _this_is_true to its intended name of _this_is_false. 2023-08-05 21:52:37 +08:00
d4b2743cf0 format code in solutions/generics-traits/const-generics.md 2023-08-05 21:34:02 +08:00
a7d22235eb fix typo: 'assotiated' -> 'associated' 2023-08-05 20:44:36 +08:00
a5e47880a0 fix solution linkage of en/src/pattern-match/match-iflet.md 2023-08-05 17:40:26 +08:00
1ae378df81 Fixed Footer giscus Comments Widget 2023-07-20 03:01:14 +05:00
de7e0d25dd Typo Fixed evironment to environment 2023-07-20 02:44:15 +05:00
f8ebc89a66 Typo Fixed errror to error 2023-07-20 02:43:14 +05:00
a9d7e193d2 Typo Fixed aproaches to approaches 2023-07-20 02:42:51 +05:00
2a92e3d65e Typo Fixed placefolder to placeholder 2023-07-20 02:40:36 +05:00
0f97d37440 Typo Fixed straightfoward to straightforward 2023-07-20 02:40:08 +05:00
88191e18b2 Merge pull request #420 from MujeebullahKalwar/count-badge-fix
Fixed Footer Count Badge
2023-07-14 14:01:57 +08:00
e8ff58dc42 Changed Style to Flat Square 2023-07-13 15:22:15 +05:00
b0666cfef9 Fixed Footer Count Badge 2023-07-13 15:16:24 +05:00
d5f4b58d8c Merge pull request #411 from kewinzaq1/patch-1
fix: typo
2023-07-02 09:36:16 +08:00
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
a47be3566d Merge pull request #413 from shirjs/patch-1
Grammatical change from needs to requires
2023-07-02 09:34:44 +08:00
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
1beecb464a fix the Markdown syntax error 2023-06-19 00:44:59 +08:00
5a899e2329 fix: typo 2023-06-18 18:06:29 +02:00