@@ -1,24 +0,0 @@
-use std::hash::Hash;
-
-use proc_macro2::Span;
-// A form of whitespace
-#[derive(Debug, Clone)]
-pub struct UserComment {
- pub span: Span,
- pub comment: String,
-}
-impl PartialEq for UserComment {
- fn eq(&self, other: &Self) -> bool {
- self.comment == other.comment
- }
-impl Eq for UserComment {}
-impl Hash for UserComment {
- fn hash<H: std::hash::Hasher>(&self, state: &mut H) {
- self.comment.hash(state);
@@ -13,7 +13,6 @@
#[macro_use]
mod errors;
-mod comments;
mod component;
mod element;
pub mod hot_reload;
@@ -1,5 +1,3 @@
-use crate::comments::UserComment;
use super::*;
use proc_macro2::{Span, TokenStream as TokenStream2};