From 8a461b1135a669de1fb569ba93b8a41cd9c45621 Mon Sep 17 00:00:00 2001 From: Dan Alekseev Date: Sun, 7 Apr 2024 14:22:40 +0400 Subject: [PATCH] Fix for better formatting --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index aa0ad0d..0ee6add 100644 --- a/README.md +++ b/README.md @@ -96,7 +96,7 @@ __Requires features `derive`.__ In addition to the HxBoosted extractor, the library provides macroses `hx_boosted_by` and it's async version `hx_boosted_by_async` for managing the response based on the presence of the `HX-Boosted` header. -The macro input should have a `layout_fn` and can have arguments passed from annotated function into `layout_fn`. The macro will call the layout_fn if the `HX-Boosted` header is not present, otherwise it will return the response directly. +The macro input should have a `layout_fn`, and can have arguments passed from annotated function into `layout_fn`. The macro will call the `layout_fn` if the `HX-Boosted` header is not present, otherwise it will return the response directly. ```rust #[hx_boosted_by(layout_fn, [arg1, agr2, ...])]