瀏覽代碼

refactor: clean up commented code.

Muhannad Alrusayni 3 年之前
父節點
當前提交
5b079075d7
共有 1 個文件被更改,包括 0 次插入7 次删除
  1. 0 7
      packages/core-macro/src/rsx/component.rs

+ 0 - 7
packages/core-macro/src/rsx/component.rs

@@ -50,13 +50,6 @@ impl Component {
             invalid_component_path!(path);
         }
 
-        // if matches!(
-        //     path.segments.last().unwrap().arguments,
-        //     PathArguments::AngleBracketed(_)
-        // ) {
-        //     proc_macro_error::abort!(path, "path: {}", path.to_token_stream().to_string());
-        // }
-
         Ok(())
     }
 }