mirror of
https://github.com/servo/servo.git
synced 2025-07-25 08:10:21 +01:00
Fix various build warnings.
This commit is contained in:
parent
95f71eea5c
commit
2026cbada2
20 changed files with 25 additions and 18 deletions
|
@ -195,7 +195,7 @@ impl<'a, QueueData: 'static, WorkData: Send> WorkerProxy<'a, QueueData, WorkData
|
|||
|
||||
/// Retrieves the queue user data.
|
||||
#[inline]
|
||||
pub fn user_data<'a>(&'a self) -> &'a QueueData {
|
||||
pub fn user_data<'b>(&'b self) -> &'b QueueData {
|
||||
unsafe {
|
||||
mem::transmute(self.queue_data)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue