File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ pub mod win32 {
145
145
/*
146
146
Accessing environment variables is not generally threadsafe.
147
147
This uses a per-runtime lock to serialize access.
148
- XXX : It would probably be appropriate to make this a real global
148
+ FIXME #4726 : It would probably be appropriate to make this a real global
149
149
*/
150
150
fn with_env_lock < T > ( f : & fn ( ) -> T ) -> T {
151
151
use private:: global:: global_data_clone_create;
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ pub trait Finally<T> {
31
31
}
32
32
33
33
impl < T > & fn ( ) -> T : Finally < T > {
34
- // XXX : Should not require a mode here
34
+ // FIXME #4518 : Should not require a mode here
35
35
fn finally ( & self , +dtor : & fn ( ) ) -> T {
36
36
let _d = Finallyalizer {
37
37
dtor : dtor
@@ -88,7 +88,7 @@ fn test_retval() {
88
88
89
89
#[ test]
90
90
fn test_compact ( ) {
91
- // XXX Should be able to use a fn item instead
91
+ // FIXME #4727: Should be able to use a fn item instead
92
92
// of a closure for do_some_fallible_work,
93
93
// but it's a type error.
94
94
let do_some_fallible_work: & fn ( ) = || { } ;
Original file line number Diff line number Diff line change @@ -160,7 +160,7 @@ fn get_global_state() -> Exclusive<GlobalState> {
160
160
161
161
const POISON : int = -1 ;
162
162
163
- // XXX : Doing atomic_cxchg to initialize the global state
163
+ // FIXME #4728 : Doing atomic_cxchg to initialize the global state
164
164
// lazily, which wouldn't be necessary with a runtime written
165
165
// in Rust
166
166
let global_ptr = unsafe { rust_get_global_data_ptr ( ) } ;
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ use ops::Drop;
30
30
31
31
type ShutdownMsg = ( ) ;
32
32
33
- // XXX : This could be a PortOne but I've experienced bugginess
33
+ // FIXME #4729 : This could be a PortOne but I've experienced bugginess
34
34
// with oneshot pipes and try_send
35
35
pub unsafe fn weaken_task ( f : & fn ( Port < ShutdownMsg > ) ) {
36
36
let service = global_data_clone_create ( global_data_key,
You can’t perform that action at this time.
0 commit comments