Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
kaleidawave committed Mar 1, 2024
2 parents 5aee471 + 909661c commit d66db57
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ description = "Framework for building derive macros"
license = "MIT"
repository = "https://github.com/kaleidawave/syn-helpers"
authors = ["Ben <[email protected]>"]
keywords = ["proc-macro-derive", "syn", "code-generation", "enum"]
categories = [
"development-tools::procedural-macro-helpers",
"development-tools::build-utils",
]
version = "0.4.3"
version = "0.4.5"
edition = "2018"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ pub(crate) fn generic_param_to_generic_argument_token_stream(

pub fn dyn_error_to_compile_error_tokens(err: Box<dyn Error>) -> TokenStream {
let error_as_string = syn::LitStr::new(&err.to_string(), Span::call_site());
quote!(compile_error!(#error_as_string))
quote!(compile_error!(#error_as_string);)
}

/// A declaration for a Rust [trait](https://doc.rust-lang.org/rust-by-example/trait.html)
Expand Down

0 comments on commit d66db57

Please sign in to comment.