Skip to content

Commit 89598df

Browse files
authored
docs(lib): fix some typos (#2818)
Signed-off-by: cuishuang <[email protected]>
1 parent 78de891 commit 89598df

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

docs/CODE_OF_CONDUCT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
- Don't be mean.
66
- Insulting anyone is prohibited.
7-
- Harrassment of any kind is prohibited.
7+
- Harassment of any kind is prohibited.
88
- If another person feels uncomfortable with your remarks, stop it.
99
- If a moderator deems your comment or conduct as inappropriate, stop it.
1010
- Disagreeing is fine, but keep it to technical arguments. Never attack the person.

docs/TENETS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ important than **Correct** or **Fast**:
3030

3131
- Say an individual were to bring forward a contribution that makes hyper more
3232
correct, or faster, perhaps fixing some serious bug. But in doing so, they
33-
also insulted people, harrassed other contributors or users, or shamed
33+
also insulted people, harassed other contributors or users, or shamed
3434
everyone for the previous code. They felt their contribution was "invaluable".
3535
We would not accept such a contribution, instead banning the user and
3636
rewriting the code amongst the kind collaborators of the project.

src/client/conn.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ where
494494
///
495495
/// This setting is configured by the server peer by sending the
496496
/// [`SETTINGS_ENABLE_CONNECT_PROTOCOL` parameter][2] in a `SETTINGS` frame.
497-
/// This method returns the currently acknowledged value recieved from the
497+
/// This method returns the currently acknowledged value received from the
498498
/// remote.
499499
///
500500
/// [1]: https://datatracker.ietf.org/doc/html/rfc8441#section-4

src/ext.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ impl OriginalHeaderOrder {
179179
// is needed to compile. Once ffi is stablized `no_run` should be removed
180180
// here.
181181
/// This returns an iterator that provides header names and indexes
182-
/// in the original order recieved.
182+
/// in the original order received.
183183
///
184184
/// # Examples
185185
/// ```no_run

src/ffi/task.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ pub struct hyper_executor {
3232
/// The executor of all task futures.
3333
///
3434
/// There should never be contention on the mutex, as it is only locked
35-
/// to drive the futures. However, we cannot gaurantee proper usage from
35+
/// to drive the futures. However, we cannot guarantee proper usage from
3636
/// `hyper_executor_poll()`, which in C could potentially be called inside
3737
/// one of the stored futures. The mutex isn't re-entrant, so doing so
3838
/// would result in a deadlock, but that's better than data corruption.

0 commit comments

Comments
 (0)