mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-07 01:05:39 +03:00
core: Clean up XXXes
This commit is contained in:
+1
-1
@@ -62,7 +62,7 @@ pub unsafe fn rt_fail_borrowed() {
|
||||
}
|
||||
}
|
||||
|
||||
// XXX: Make these signatures agree with exchange_alloc's signatures
|
||||
// FIXME #4942: Make these signatures agree with exchange_alloc's signatures
|
||||
#[rt(exchange_malloc)]
|
||||
#[lang="exchange_malloc"]
|
||||
pub unsafe fn rt_exchange_malloc(td: *c_char, size: uintptr_t) -> *c_char {
|
||||
|
||||
+1
-1
@@ -250,7 +250,7 @@ struct ProgRes {
|
||||
r: ProgRepr,
|
||||
drop {
|
||||
unsafe {
|
||||
// XXX: This is bad.
|
||||
// FIXME #4943: This is bad.
|
||||
destroy_repr(cast::transmute(&self.r));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user