diff --git a/components/net_traits/lib.rs b/components/net_traits/lib.rs index fd040d19e756..c3816e1494bd 100644 --- a/components/net_traits/lib.rs +++ b/components/net_traits/lib.rs @@ -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), - /// 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), } diff --git a/components/net_traits/request.rs b/components/net_traits/request.rs index f44ed00fab54..3a76d3d51858 100644 --- a/components/net_traits/request.rs +++ b/components/net_traits/request.rs @@ -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, } @@ -497,7 +497,7 @@ pub struct Request { #[ignore_malloc_size_of = "Defined in rust-content-security-policy"] pub csp_list: Option, 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, } diff --git a/components/script_traits/lib.rs b/components/script_traits/lib.rs index 062c5eab7adf..c1b02c4335aa 100644 --- a/components/script_traits/lib.rs +++ b/components/script_traits/lib.rs @@ -185,7 +185,7 @@ pub struct LoadData { /// The inherited context is Secure, None if not inherited pub inherited_secure_context: Option, - /// 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, }