Skip to content

chore: fix tiny wording error in "Calling functions" docs#423

Merged
GuillaumeGomez merged 1 commit intoaskama-rs:masterfrom
m4tx:fix-function-docs
Apr 30, 2025
Merged

chore: fix tiny wording error in "Calling functions" docs#423
GuillaumeGomez merged 1 commit intoaskama-rs:masterfrom
m4tx:fix-function-docs

Conversation

@m4tx
Copy link
Copy Markdown
Contributor

@m4tx m4tx commented Apr 30, 2025

Currently the doc says:

If you only provide a function name, askama will assume it's a method. If you want to call a method, you will need to use a path instead:

The second "method" doesn't seem like it was intended, as it contradicts the first sentence; it makes much more sense that this was supposed to be a "function" here.

@GuillaumeGomez
Copy link
Copy Markdown
Collaborator

Thanks!

@GuillaumeGomez GuillaumeGomez merged commit 90d1a71 into askama-rs:master Apr 30, 2025
1 check passed
@m4tx m4tx deleted the fix-function-docs branch April 30, 2025 16:21
@Kijewski Kijewski mentioned this pull request Jun 6, 2025
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