Skip to content

Commit

Permalink
docs(lib): fix some typos (#2818)
Browse files Browse the repository at this point in the history
Signed-off-by: cuishuang <imcusg@gmail.com>
  • Loading branch information
cuishuang committed Apr 25, 2022
1 parent 78de891 commit 89598df
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/CODE_OF_CONDUCT.md
Expand Up @@ -4,7 +4,7 @@

- Don't be mean.
- Insulting anyone is prohibited.
- Harrassment of any kind is prohibited.
- Harassment of any kind is prohibited.
- If another person feels uncomfortable with your remarks, stop it.
- If a moderator deems your comment or conduct as inappropriate, stop it.
- Disagreeing is fine, but keep it to technical arguments. Never attack the person.
Expand Down
2 changes: 1 addition & 1 deletion docs/TENETS.md
Expand Up @@ -30,7 +30,7 @@ important than **Correct** or **Fast**:

- Say an individual were to bring forward a contribution that makes hyper more
correct, or faster, perhaps fixing some serious bug. But in doing so, they
also insulted people, harrassed other contributors or users, or shamed
also insulted people, harassed other contributors or users, or shamed
everyone for the previous code. They felt their contribution was "invaluable".
We would not accept such a contribution, instead banning the user and
rewriting the code amongst the kind collaborators of the project.
Expand Down
2 changes: 1 addition & 1 deletion src/client/conn.rs
Expand Up @@ -494,7 +494,7 @@ where
///
/// This setting is configured by the server peer by sending the
/// [`SETTINGS_ENABLE_CONNECT_PROTOCOL` parameter][2] in a `SETTINGS` frame.
/// This method returns the currently acknowledged value recieved from the
/// This method returns the currently acknowledged value received from the
/// remote.
///
/// [1]: https://datatracker.ietf.org/doc/html/rfc8441#section-4
Expand Down
2 changes: 1 addition & 1 deletion src/ext.rs
Expand Up @@ -179,7 +179,7 @@ impl OriginalHeaderOrder {
// is needed to compile. Once ffi is stablized `no_run` should be removed
// here.
/// This returns an iterator that provides header names and indexes
/// in the original order recieved.
/// in the original order received.
///
/// # Examples
/// ```no_run
Expand Down
2 changes: 1 addition & 1 deletion src/ffi/task.rs
Expand Up @@ -32,7 +32,7 @@ pub struct hyper_executor {
/// The executor of all task futures.
///
/// There should never be contention on the mutex, as it is only locked
/// to drive the futures. However, we cannot gaurantee proper usage from
/// to drive the futures. However, we cannot guarantee proper usage from
/// `hyper_executor_poll()`, which in C could potentially be called inside
/// one of the stored futures. The mutex isn't re-entrant, so doing so
/// would result in a deadlock, but that's better than data corruption.
Expand Down

0 comments on commit 89598df

Please sign in to comment.