Skip to content

Commit

Permalink
fix doc comment style
Browse files Browse the repository at this point in the history
  • Loading branch information
delan committed Sep 6, 2023
1 parent c1a6558 commit c85c102
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions components/net_traits/lib.rs
Expand Up @@ -758,9 +758,9 @@ pub enum NetworkError {
/// Could be any of the internal errors, like unsupported scheme, connection errors, etc.
Internal(String),
LoadCancelled,
/// SSL validation error, to be converted to Resource::BadCertHTML in the HTML parser
/// SSL validation error, to be converted to Resource::BadCertHTML in the HTML parser.
SslValidation(String, Vec<u8>),
/// Crash error, to be converted to Resource::Crash in the HTML parser
/// Crash error, to be converted to Resource::Crash in the HTML parser.
Crash(String),
}

Expand Down
4 changes: 2 additions & 2 deletions components/net_traits/request.rs
Expand Up @@ -254,7 +254,7 @@ pub struct RequestBuilder {
pub initiator: Initiator,
pub https_state: HttpsState,
pub response_tainting: ResponseTainting,
/// Servo internal: if crash details are present, trigger a crash error page with these details
/// Servo internal: if crash details are present, trigger a crash error page with these details.
pub crash: Option<String>,
}

Expand Down Expand Up @@ -497,7 +497,7 @@ pub struct Request {
#[ignore_malloc_size_of = "Defined in rust-content-security-policy"]
pub csp_list: Option<CspList>,
pub https_state: HttpsState,
/// Servo internal: if crash details are present, trigger a crash error page with these details
/// Servo internal: if crash details are present, trigger a crash error page with these details.
pub crash: Option<String>,
}

Expand Down
2 changes: 1 addition & 1 deletion components/script_traits/lib.rs
Expand Up @@ -185,7 +185,7 @@ pub struct LoadData {
/// The inherited context is Secure, None if not inherited
pub inherited_secure_context: Option<bool>,

/// Servo internal: if crash details are present, trigger a crash error page with these details
/// Servo internal: if crash details are present, trigger a crash error page with these details.
pub crash: Option<String>,
}

Expand Down

0 comments on commit c85c102

Please sign in to comment.