aboutsummaryrefslogtreecommitdiff
path: root/macros/src/named_attr_input.rs
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-09-24 13:13:20 +0200
committerHampusM <hampus@hampusmat.com>2022-09-24 13:13:20 +0200
commit695f90bf900015df1e2728445f833dabced838a9 (patch)
treec68f2b483e3d20f400d27d4df159b2aec94d072f /macros/src/named_attr_input.rs
parent3ed020425bfd1fc5fedfa89a7ce20207bedcf5bc (diff)
refactor: reorganize modules in the macros crate
Diffstat (limited to 'macros/src/named_attr_input.rs')
-rw-r--r--macros/src/named_attr_input.rs21
1 files changed, 0 insertions, 21 deletions
diff --git a/macros/src/named_attr_input.rs b/macros/src/named_attr_input.rs
deleted file mode 100644
index 5f7123c..0000000
--- a/macros/src/named_attr_input.rs
+++ /dev/null
@@ -1,21 +0,0 @@
-use syn::parse::Parse;
-use syn::{parenthesized, LitStr};
-
-pub struct NamedAttrInput
-{
- pub name: LitStr,
-}
-
-impl Parse for NamedAttrInput
-{
- fn parse(input: syn::parse::ParseStream) -> syn::Result<Self>
- {
- let content;
-
- parenthesized!(content in input);
-
- Ok(Self {
- name: content.parse()?,
- })
- }
-}