Skip to content

Commit

Permalink
Some smaller fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Tamschi committed Aug 29, 2023
1 parent b4aff4f commit 88f02da
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ fn transform_type_param_bounds<'a>(
)
}
TypeParamBound::Lifetime(l) => transform_lifetime(l, lifetime, adjust_lifetimes),
b @ TypeParamBound::Verbatim(_) => {
_b @ TypeParamBound::Verbatim(_) => {
todo!("transform_type_param_bounds: TypeParamBound::Verbatim")
}
_ => unimplemented!("transform_type_param_bounds: _"),
Expand Down
1 change: 0 additions & 1 deletion proc-macro-definitions/src/part/html_definition.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ impl AttributeKey {
let substrate = cx.substrate;
match self {
AttributeKey::Known(name) => {
let asteracea = asteracea_ident(name.span());
quote_spanned! {name.span().resolved_at(Span::mixed_site())=>
<dyn #substrate::schema::attributes::#name>::NAME
}
Expand Down
1 change: 1 addition & 0 deletions tests/attributes.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#![allow(dead_code)] //TODO: Test output.
#![allow(unused_braces)]

use asteracea::substrates::web as substrate;

Expand Down

0 comments on commit 88f02da

Please sign in to comment.