about summary refs log tree commit diff
path: root/src/comp
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2011-10-03 13:14:54 -0700
committerBrian Anderson <banderson@mozilla.com>2011-10-04 21:35:06 -0700
commitb25e78524c8de705fcd7dfe759e4a614ffa5f594 (patch)
tree48df40423c216158cb186ddfbdd2ac0a47ff811a /src/comp
parent33ee73102df243e4b794b81c2e53ba6f222b2f60 (diff)
Fix some comment drift
Diffstat (limited to 'src/comp')
-rw-r--r--src/comp/metadata/creader.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/comp/metadata/creader.rs b/src/comp/metadata/creader.rs
index ccded566cfd..6fb1e1425e8 100644
--- a/src/comp/metadata/creader.rs
+++ b/src/comp/metadata/creader.rs
@@ -112,8 +112,6 @@ fn find_library_crate(sess: session::session, ident: ast::ident,
 
     attr::require_unique_names(sess, metas);
 
-    // FIXME: Probably want a warning here since the user
-    // is using the wrong type of meta item
     let crate_name =
         {
             let name_items = attr::find_meta_items_by_name(metas, "name");
@@ -121,6 +119,8 @@ fn find_library_crate(sess: session::session, ident: ast::ident,
               some(i) {
                 alt attr::get_meta_item_value_str(i) {
                   some(n) { n }
+                  // FIXME: Probably want a warning here since the user
+                  // is using the wrong type of meta item
                   _ { ident }
                 }
               }