Skip to content

Commit

Permalink
docs: fix typos (#1798)
Browse files Browse the repository at this point in the history
  • Loading branch information
camshaft authored Jun 8, 2023
1 parent 714c740 commit 56ef974
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ Cargo.lock
.DS_Store
/.idea
dhat-heap.json
flamegraph.svg
perf.data*
4 changes: 2 additions & 2 deletions quic/s2n-quic-core/src/stream/id.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ impl StreamId {
/// assert_eq!(3u64, stream_id.as_varint().as_u64());
/// ```
#[inline]
pub fn initial(initator: endpoint::Type, stream_type: StreamType) -> StreamId {
pub fn initial(initiator: endpoint::Type, stream_type: StreamType) -> StreamId {
//= https://www.rfc-editor.org/rfc/rfc9000#section-2.1
//# The two least significant bits from a stream ID therefore identify a
//# stream as one of four types, as summarized in Table 1.
Expand All @@ -78,7 +78,7 @@ impl StreamId {

match (
stream_type == StreamType::Bidirectional,
initator == endpoint::Type::Client,
initiator == endpoint::Type::Client,
) {
(true, true) => StreamId(VarInt::from_u32(0)),
(true, false) => StreamId(VarInt::from_u32(1)),
Expand Down
2 changes: 1 addition & 1 deletion scripts/perf/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
./scripts/perf/run
```

## Generating a flamegraph with a specific downoad and upload size
## Generating a flamegraph with a specific download and upload size

```bash
./scripts/perf/run 123 456
Expand Down

0 comments on commit 56ef974

Please sign in to comment.