]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
✏️ Fix error in `docs/en/docs/tutorial/middleware.md` (#12819)
authorAlejandra <90076947+alejsdev@users.noreply.github.com>
Sat, 9 Nov 2024 17:07:05 +0000 (17:07 +0000)
committerGitHub <noreply@github.com>
Sat, 9 Nov 2024 17:07:05 +0000 (17:07 +0000)
docs/en/docs/tutorial/middleware.md

index 4693d977a9b1c2d9951b258b0edd7789cb998987..53c47a08571558eb665ac99a7b03303819e6fda2 100644 (file)
@@ -60,7 +60,6 @@ For example, you could add a custom header `X-Process-Time` containing the time
 {* ../../docs_src/middleware/tutorial001.py hl[10,12:13] *}
 
 /// tip
-```Python hl_lines="10  12-13"
 
 Here we use <a href="https://docs.python.org/3/library/time.html#time.perf_counter" class="external-link" target="_blank">`time.perf_counter()`</a> instead of `time.time()` because it can be more precise for these use cases. 🤓