Skip to content

Commit

Permalink
Fix typos in options docs
Browse files Browse the repository at this point in the history
  • Loading branch information
aecsocket committed Apr 7, 2024
1 parent 872a0d7 commit bf57e16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/xwt-web-sys/src/options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use crate::sys;
/// See <https://developer.mozilla.org/en-US/docs/Web/API/WebTransport/WebTransport#options>.
#[derive(Debug, Clone, Default, PartialEq, Eq)]
pub struct WebTransportOptions {
/// If `true``, the network connection for this WebTransport can be shared
/// If `true`, the network connection for this WebTransport can be shared
/// with a pool of other HTTP/3 sessions.
///
/// By default the value is false, and the connection cannot be shared.
Expand All @@ -16,7 +16,7 @@ pub struct WebTransportOptions {
/// algorithm used when sending data over this connection be tuned for
/// either throughput or low-latency.
///
/// his is a hint to the user agent.
/// This is a hint to the user agent.
pub congestion_control: CongestionControl,
/// If true, the connection cannot be established over HTTP/2 if an HTTP/3
/// connection is not possible.
Expand Down

0 comments on commit bf57e16

Please sign in to comment.