Skip to content

Commit

Permalink
spell 'stream' correctly
Browse files Browse the repository at this point in the history
Thanks @bobrik.
  • Loading branch information
ghedo committed Jan 23, 2019
1 parent 25145b6 commit f6dd751
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.rst
Expand Up @@ -142,7 +142,7 @@ be ready for sending or receiving application data:
.. code-block:: rust
if conn.is_established() {
// Handshake completed, send some data on steadm 0.
// Handshake completed, send some data on stream 0.
conn.stream_send(0, b"hello", true);
}
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Expand Up @@ -157,7 +157,7 @@
//! # let scid: [u8; 16] = [0xba; 16];
//! # let mut conn = quiche::accept(&scid, None, &mut config).unwrap();
//! if conn.is_established() {
//! // Handshake completed, send some data on steadm 0.
//! // Handshake completed, send some data on stream 0.
//! conn.stream_send(0, b"hello", true);
//! }
//! ```
Expand Down

0 comments on commit f6dd751

Please sign in to comment.