Commit Graph

773 Commits

Author SHA1 Message Date
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
1c83c69d30 fix: Correct the wrong answer to Exercise 11 in Chapter borrowing
Calling only r1 in the new compiler version does not trigger a reborrowing error
2023-08-30 18:48:08 +08: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
1edb2c3125 git clone HTTPS URL
Changed the _git clone URL_ into an URL that is available
to all people that have Internet access.

Signed-off-by: Geert Stappers <stappers@stappers.it>
2023-08-05 11:16:46 +02:00
95d89d8f32 Update functions.md
There was a little grammatical error in this section.
I modified: `DON'T let `println!` works` to `DON'T let `println!` work`
2023-08-02 14:08:57 +01: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
a29f320605 Update iterator.md
Make two tasks editable
2023-07-19 15:19:13 +03:00
0600bb3bdc Fix typo in iterator.md
fix typo `edtiable` -> `editable`
2023-07-19 15:15:59 +03: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
5453e7a05c Update ownership.md.
Borrowing the variables in the first problem
2023-07-06 10:23:43 +05:30
5b9632276f Fix dot call syntax in exercises to be double colon
Looks like this was not intentional 🙂 and the dot syntax is not coming from Rust
2023-07-04 21:29:43 +03:00
2f1ed60e25 remove the mistable semicolon 2023-07-04 17:57:44 +08:00
ff6c841dd5 Update Q6 array.md
changed comment suggesting arr.get() return Option<T> to Option<&T>
2023-07-02 23:10:16 +05:30
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