mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Remove unused constant from components/net/fetch/methods.rs
(#33054)
This was revealed by the recent switch to `LazyLock`. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
parent
c438bfddd0
commit
057873c94a
1 changed files with 1 additions and 4 deletions
|
@ -7,7 +7,7 @@ use std::fs::File;
|
|||
use std::io::{self, BufReader, Seek, SeekFrom};
|
||||
use std::ops::Bound;
|
||||
use std::sync::atomic::Ordering;
|
||||
use std::sync::{Arc, LazyLock, Mutex};
|
||||
use std::sync::{Arc, Mutex};
|
||||
use std::{mem, str};
|
||||
|
||||
use base64::engine::general_purpose;
|
||||
|
@ -52,9 +52,6 @@ use crate::http_loader::{
|
|||
use crate::local_directory_listing;
|
||||
use crate::subresource_integrity::is_response_integrity_valid;
|
||||
|
||||
static X_CONTENT_TYPE_OPTIONS: LazyLock<HeaderName> =
|
||||
LazyLock::new(|| HeaderName::from_static("x-content-type-options"));
|
||||
|
||||
pub type Target<'a> = &'a mut (dyn FetchTaskTarget + Send);
|
||||
|
||||
#[derive(Clone, Deserialize, Serialize)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue