diff options
| author | Salem Talha <salem.a.talha@gmail.com> | 2014-01-26 03:43:42 -0500 |
|---|---|---|
| committer | Salem Talha <salem.a.talha@gmail.com> | 2014-01-26 14:42:53 -0500 |
| commit | cc61fc09945aeec6fc71a07e91b8610fa71f6425 (patch) | |
| tree | 28b2a4a2742d0f8fa29c19bca7b6f35f441a7a2a /src/libextra | |
| parent | 838b5a4cc072057f31453cdd1b50345f92e1a772 (diff) | |
| download | rust-cc61fc09945aeec6fc71a07e91b8610fa71f6425.tar.gz rust-cc61fc09945aeec6fc71a07e91b8610fa71f6425.zip | |
Removed all instances of XXX in preparation for relaxing of FIXME rule
Diffstat (limited to 'src/libextra')
| -rw-r--r-- | src/libextra/arena.rs | 2 | ||||
| -rw-r--r-- | src/libextra/ebml.rs | 2 | ||||
| -rw-r--r-- | src/libextra/glob.rs | 2 | ||||
| -rw-r--r-- | src/libextra/url.rs | 4 | ||||
| -rw-r--r-- | src/libextra/workcache.rs | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/src/libextra/arena.rs b/src/libextra/arena.rs index 0660c8ac7ad..87f6e27b632 100644 --- a/src/libextra/arena.rs +++ b/src/libextra/arena.rs @@ -276,7 +276,7 @@ impl Arena { #[inline] pub fn alloc<'a, T>(&'a self, op: || -> T) -> &'a T { unsafe { - // XXX: Borrow check + // FIXME: Borrow check let this = transmute_mut(self); if intrinsics::needs_drop::<T>() { this.alloc_nonpod(op) diff --git a/src/libextra/ebml.rs b/src/libextra/ebml.rs index a44cf2ec063..5bbea491ac2 100644 --- a/src/libextra/ebml.rs +++ b/src/libextra/ebml.rs @@ -630,7 +630,7 @@ pub mod writer { // FIXME (#2741): Provide a function to write the standard ebml header. impl<'a> Encoder<'a> { - /// XXX(pcwalton): Workaround for badness in trans. DO NOT USE ME. + /// FIXME(pcwalton): Workaround for badness in trans. DO NOT USE ME. pub unsafe fn unsafe_clone(&self) -> Encoder<'a> { Encoder { writer: cast::transmute_copy(&self.writer), diff --git a/src/libextra/glob.rs b/src/libextra/glob.rs index 3e2aa511b81..fb760685254 100644 --- a/src/libextra/glob.rs +++ b/src/libextra/glob.rs @@ -93,7 +93,7 @@ pub fn glob_with(pattern: &str, options: MatchOptions) -> Paths { let pat_root = Path::new(pattern).root_path(); if pat_root.is_some() { if check_windows_verbatim(pat_root.get_ref()) { - // XXX: How do we want to handle verbatim paths? I'm inclined to return nothing, + // FIXME: How do we want to handle verbatim paths? I'm inclined to return nothing, // since we can't very well find all UNC shares with a 1-letter server name. return Paths { root: root, dir_patterns: ~[], options: options, todo: ~[] }; } diff --git a/src/libextra/url.rs b/src/libextra/url.rs index 7591f564da2..35c53c9307c 100644 --- a/src/libextra/url.rs +++ b/src/libextra/url.rs @@ -174,7 +174,7 @@ fn decode_inner(s: &str, full_url: bool) -> ~str { let mut bytes = [0, 0]; match rdr.read(bytes) { Some(2) => {} - _ => fail!() // XXX: malformed url? + _ => fail!() // FIXME: malformed url? } let ch = uint::parse_bytes(bytes, 16u).unwrap() as u8 as char; @@ -308,7 +308,7 @@ pub fn decode_form_urlencoded(s: &[u8]) -> HashMap<~str, ~[~str]> { let mut bytes = [0, 0]; match rdr.read(bytes) { Some(2) => {} - _ => fail!() // XXX: malformed? + _ => fail!() // FIXME: malformed? } uint::parse_bytes(bytes, 16u).unwrap() as u8 as char } diff --git a/src/libextra/workcache.rs b/src/libextra/workcache.rs index cccca1309f4..d8a97ae2077 100644 --- a/src/libextra/workcache.rs +++ b/src/libextra/workcache.rs @@ -413,7 +413,7 @@ impl<'a> Prep<'a> { let (port, chan) = Chan::new(); let blk = bo.take_unwrap(); - // XXX: What happens if the task fails? + // FIXME: What happens if the task fails? do spawn { let mut exe = Exec { discovered_inputs: WorkMap::new(), |
