Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

book: document blocks #340

Merged
merged 3 commits into from
Feb 9, 2025
Merged

book: document blocks #340

merged 3 commits into from
Feb 9, 2025

Conversation

Kijewski
Copy link
Collaborator

@Kijewski Kijewski commented Feb 8, 2025

No description provided.

@@ -156,7 +206,6 @@ pub fn derive_template(input: TokenStream12) -> TokenStream12 {
Err(err) => {
let msgs = err.into_iter().map(|err| err.to_string());
let ts = quote! {
span =>
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change only matters for our rinja playground. In actual code, derive_template would never be called if the input struct does not contain valid rust syntax.

@Kijewski Kijewski marked this pull request as draft February 8, 2025 21:46
@Kijewski Kijewski marked this pull request as ready for review February 8, 2025 21:46
@GuillaumeGomez
Copy link
Collaborator

Thanks!

@GuillaumeGomez GuillaumeGomez merged commit bb6153b into askama-rs:master Feb 9, 2025
37 checks passed
@Kijewski Kijewski deleted the pr-stuff branch February 9, 2025 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants