From: Alejandra <90076947+alejsdev@users.noreply.github.com> Date: Sat, 9 Nov 2024 17:07:05 +0000 (+0000) Subject: ✏️ Fix error in `docs/en/docs/tutorial/middleware.md` (#12819) X-Git-Tag: 0.115.5~40 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=40912999d1e28caf49a7eb5295b662a72dff2e4a;p=thirdparty%2Ffastapi%2Ffastapi.git ✏️ Fix error in `docs/en/docs/tutorial/middleware.md` (#12819) --- diff --git a/docs/en/docs/tutorial/middleware.md b/docs/en/docs/tutorial/middleware.md index 4693d977a9..53c47a0857 100644 --- a/docs/en/docs/tutorial/middleware.md +++ b/docs/en/docs/tutorial/middleware.md @@ -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 `time.perf_counter()` instead of `time.time()` because it can be more precise for these use cases. 🤓