Rollup merge of #26622 - tshepang:indents, r=sanxiyn
This commit is contained in:
commit
cf1c5b22d8
2 changed files with 3 additions and 3 deletions
|
@ -20,7 +20,7 @@ fn main() {
|
|||
_x: Port<()>,
|
||||
}
|
||||
|
||||
impl Drop for foo {
|
||||
impl Drop for foo {
|
||||
fn drop(&mut self) {}
|
||||
}
|
||||
|
||||
|
|
|
@ -165,7 +165,7 @@ pub mod pipes {
|
|||
p: Option<*const packet<T>>,
|
||||
}
|
||||
|
||||
impl<T:Send> Drop for send_packet<T> {
|
||||
impl<T:Send> Drop for send_packet<T> {
|
||||
fn drop(&mut self) {
|
||||
unsafe {
|
||||
if self.p != None {
|
||||
|
@ -194,7 +194,7 @@ pub mod pipes {
|
|||
p: Option<*const packet<T>>,
|
||||
}
|
||||
|
||||
impl<T:Send> Drop for recv_packet<T> {
|
||||
impl<T:Send> Drop for recv_packet<T> {
|
||||
fn drop(&mut self) {
|
||||
unsafe {
|
||||
if self.p != None {
|
||||
|
|
Loading…
Reference in a new issue