Skip to content

Commit 87edd75

Browse files
committed
TODO -> FIXME
Or just delete Closes #25
1 parent 5c1884e commit 87edd75

File tree

8 files changed

+5
-11
lines changed

8 files changed

+5
-11
lines changed

src/filemap.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// TODO: add tests
12-
1311
use std::fs;
1412
use std::io::{self, Write};
1513

src/format-diff/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ where
175175
None => continue,
176176
};
177177

178-
// TODO(emilio): We could avoid this most of the time if needed, but
178+
// FIXME(emilio): We could avoid this most of the time if needed, but
179179
// it's not clear it's worth it.
180180
if !file_filter.is_match(file) {
181181
continue;

src/items.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,8 @@ impl Rewrite for ast::Local {
125125
}
126126
}
127127

128-
// TODO convert to using rewrite style rather than visitor
129-
// TODO format modules in this style
128+
// FIXME convert to using rewrite style rather than visitor
129+
// FIXME format modules in this style
130130
#[allow(dead_code)]
131131
struct Item<'a> {
132132
keyword: &'static str,

src/lists.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,6 @@ where
212212
}
213213

214214
// Format a list of commented items into a string.
215-
// TODO: add unit tests
216215
pub fn write_list<I, T>(items: I, formatting: &ListFormatting) -> Option<String>
217216
where
218217
I: IntoIterator<Item = T> + Clone,

src/macros.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,6 @@ pub fn rewrite_macro_inner(
192192
};
193193
}
194194
// Format well-known macros which cannot be parsed as a valid AST.
195-
// TODO: Maybe add more macros?
196195
if macro_name == "lazy_static!" && !has_comment {
197196
if let success @ Some(..) = format_lazy_static(context, shape, &ts) {
198197
return success;

src/missed_spans.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@ impl<'a> FmtVisitor<'a> {
4343
self.buffer.is_empty()
4444
}
4545

46-
// TODO these format_missing methods are ugly. Refactor and add unit tests
47-
// for the central whitespace stripping loop.
4846
pub fn format_missing(&mut self, end: BytePos) {
4947
// HACK(topecongiro)
5048
// We use `format_missing()` to extract a missing comment between a macro

src/reorder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
//! order. Trait items are reordered in pre-determined order (associated types
1515
//! and constants comes before methods).
1616
17-
// TODO(#2455): Reorder trait items.
17+
// FIXME(#2455): Reorder trait items.
1818

1919
use config::{lists::*, Config};
2020
use syntax::{ast, attr, codemap::Span};

src/types.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ fn type_bound_colon(context: &RewriteContext) -> &'static str {
418418

419419
impl Rewrite for ast::WherePredicate {
420420
fn rewrite(&self, context: &RewriteContext, shape: Shape) -> Option<String> {
421-
// TODO: dead spans?
421+
// FIXME: dead spans?
422422
let result = match *self {
423423
ast::WherePredicate::BoundPredicate(ast::WhereBoundPredicate {
424424
ref bound_generic_params,

0 commit comments

Comments
 (0)