aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/channelsplitternode.rs
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2020-01-20 04:05:27 -0500
committerGitHub <noreply@github.com>2020-01-20 04:05:27 -0500
commit74d1f02a6a5668d64ea9f831e514b281d1a16864 (patch)
treec5e24513f2d3aec33caf3ce47ade0fa331c440c5 /components/script/dom/channelsplitternode.rs
parent544c41b51f3406544329f83ccea41205eff5a507 (diff)
parentf7db4b7f8011239f01c3ba2e5e402c866fbe68fb (diff)
downloadservo-74d1f02a6a5668d64ea9f831e514b281d1a16864.tar.gz
servo-74d1f02a6a5668d64ea9f831e514b281d1a16864.zip
Auto merge of #25547 - kunalmohan:25531-SnakeCase, r=jdm
Modify `script` to prevent further violations of snake_case <!-- Please describe your changes on the following line: --> Remove `#![allow(non_snake_case)]` from `script/lib.rs` and add `#[allow(non_snake_case)]` at each instance of violation. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #25531 (GitHub issue number if applicable) <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
Diffstat (limited to 'components/script/dom/channelsplitternode.rs')
-rw-r--r--components/script/dom/channelsplitternode.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/dom/channelsplitternode.rs b/components/script/dom/channelsplitternode.rs
index 6803e3e5a67..4ec38609bce 100644
--- a/components/script/dom/channelsplitternode.rs
+++ b/components/script/dom/channelsplitternode.rs
@@ -70,6 +70,7 @@ impl ChannelSplitterNode {
))
}
+ #[allow(non_snake_case)]
pub fn Constructor(
window: &Window,
context: &BaseAudioContext,