mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Move an allow(non_implicitly_copyable_typarams) attribute to a smaller scope
This commit is contained in:
parent
c019af9934
commit
34672e5b17
2 changed files with 2 additions and 2 deletions
|
@ -134,6 +134,7 @@ fn task_from_context(cx: *JSContext) -> &Content unsafe {
|
|||
cast::reinterpret_cast(&JS_GetContextPrivate(cx))
|
||||
}
|
||||
|
||||
#[allow(non_implicitly_copyable_typarams)]
|
||||
impl Content {
|
||||
|
||||
fn start() {
|
||||
|
@ -202,7 +203,7 @@ impl Content {
|
|||
//TODO: support extra args. requires passing a *jsval argv
|
||||
JS_CallFunctionValue(self.cx.ptr, thisValue, timerData.funval,
|
||||
0, null(), ptr::to_unsafe_ptr(&rval));
|
||||
self.relayout(self.document.get(), &option::get(&self.doc_url));
|
||||
self.relayout(self.document.get(), &self.doc_url.get());
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
@ -39,7 +39,6 @@ pub mod dom {
|
|||
pub mod window;
|
||||
}
|
||||
|
||||
#[allow(non_implicitly_copyable_typarams)]
|
||||
pub mod content {
|
||||
pub mod content_task;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue