Commit Graph

231 Commits

Author SHA1 Message Date
sunface
e57bae6feb fix: new version mdbook layout issue 2024-01-06 09:30:06 +08:00
Sunface
beb0a7d57d Merge pull request #473 from abdulshaikh55/patch-1
Update ownership.md
2024-01-03 09:18:38 +08:00
Hugo Masclet
7ac53b8091 Rename first_word to first_letter 2023-12-25 21:40:42 +01:00
Sunface
4b4d3453b3 Merge pull request #476 from Scott169/master
Correction of problem 1 in vector.md
2023-12-07 20:13:48 +08:00
Sunface
700a2b63e4 Merge pull request #477 from XuGuangnian/patch-3
add "3, 4" answers with Spaces for Q3 of type-conversions/others
2023-12-07 20:12:29 +08:00
Sunface
2d3633a392 Merge pull request #479 from nshefeek/master
fix: reference to Lifetime Learning Resource(English) fixed
2023-12-07 20:10:53 +08:00
András Marczell
8c718b860d fixed grammar in functions exercise #3
Removed unnecessary third person 's'
2023-11-25 06:23:13 +01:00
Shefeek Najeeb
6eeaf60b3e fix: reference to Lifetime Learning Resource(English) fixed 2023-11-22 09:55:24 +04:00
Gengen Wang
2309fac720 add "3, 4" answers with Spaces for Q3 of type-conversions/others
add `.map(|x| x.trim())`  for Q3 of type-conversions/others
Added "3, 4" answers with Spaces
2023-11-13 16:39:18 +08:00
Scott Rhodes
6990f89c16 Correction of problem 1 in vector.md
```v1``` cannot be referred if the ownership of ```v``` is moved to ```fn is_vec(v: &Vec<u8>)```
2023-11-12 13:45:22 -05:00
Abdulfaiz Shaikh
ad2f389019 Update ownership.md 2023-11-06 17:21:55 +05:30
Sunface
f6e96bc9f9 Merge pull request #465 from oggy107/patch-1
fix grammar mistake
2023-10-21 08:44:09 +08:00
Sunface
73db9a9e9d Merge pull request #466 from DiogoJorge1401/patch-1
fix typos
2023-10-21 08:43:36 +08:00
Dongxu Wang
8bb23cd88e Update why-exercise.md 2023-10-21 08:29:12 +08:00
Diogo
238d4cead7 fix typos 2023-10-16 12:43:59 -03:00
Urmalveer Singh
ba5f4cb5a6 fix grammar mistake
removed unnecessary `even` word
2023-10-15 19:52:34 +05:30
Sunface
76f787a1fb Merge pull request #458 from neg3ntropy/patch-1
Small language fix in string.md
2023-10-09 09:22:08 +08:00
Daniel Ceballos
f9d168af37 Correct variable name inside for loop 2023-10-05 12:15:24 -06:00
Andrea Ratto
e72791b9eb Small language fix in string.md 2023-09-20 11:24:21 +02:00
Sunface
722b969100 Merge pull request #423 from MujeebullahKalwar/typo-fixes
Typo Fixes
2023-08-11 10:56:33 +08:00
Sunface
de64353ab6 Merge pull request #424 from MujeebullahKalwar/comment-widget-fix
Fixed Footer `giscus` Comments Widget
2023-08-11 10:56:05 +08:00
Sunface
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
Sunface
751eabf264 Merge pull request #434 from maorit/fix_type_method
fix typo: 'assotiated' -> 'associated'
2023-08-11 10:55:02 +08:00
Sunface
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
Sunface
17ac1593ff Merge pull request #441 from blattgold/master-1
slice.md, fixed gramatical error
2023-08-11 10:51:33 +08:00
Sunface
ffb4d2e455 Merge pull request #438 from maorit/fix_typo_traits2
fix typo: 'mentiond' -> 'mentioned'
2023-08-11 10:51:15 +08:00
chenhai
9f2605bf6b format code: format code in type-conversions/from-into 2023-08-06 22:30:24 +08:00
Ashli G
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
chenhai
78b6b5c0f2 fix typo: 'mentiond' -> 'mentioned' 2023-08-05 22:03:09 +08:00
chenhai
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
chenhai
a7d22235eb fix typo: 'assotiated' -> 'associated' 2023-08-05 20:44:36 +08:00
Mao Hao
a5e47880a0 fix solution linkage of en/src/pattern-match/match-iflet.md 2023-08-05 17:40:26 +08:00
Mujeebullah Kalwar
1ae378df81 Fixed Footer giscus Comments Widget 2023-07-20 03:01:14 +05:00
Mujeebullah Kalwar
f8ebc89a66 Typo Fixed errror to error 2023-07-20 02:43:14 +05:00
Mujeebullah Kalwar
a9d7e193d2 Typo Fixed aproaches to approaches 2023-07-20 02:42:51 +05:00
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
Mujeebullah Kalwar
e8ff58dc42 Changed Style to Flat Square 2023-07-13 15:22:15 +05:00
Mujeebullah Kalwar
b0666cfef9 Fixed Footer Count Badge 2023-07-13 15:16:24 +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