mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Auto merge of #12689 - heycam:warning-fix, r=Ms2ger
Fix unused variable warning. <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [ ] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [X] These changes do not require tests because it's just a variable rename <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/12689) <!-- Reviewable:end -->
This commit is contained in:
commit
2eeb945807
1 changed files with 1 additions and 1 deletions
|
@ -1239,7 +1239,7 @@ pub struct UrlExtraData {
|
||||||
|
|
||||||
impl UrlExtraData {
|
impl UrlExtraData {
|
||||||
#[cfg(feature = "servo")]
|
#[cfg(feature = "servo")]
|
||||||
pub fn make_from(content: &ParserContext) -> Option<UrlExtraData> {
|
pub fn make_from(_context: &ParserContext) -> Option<UrlExtraData> {
|
||||||
Some(UrlExtraData { })
|
Some(UrlExtraData { })
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue