From 19332235bf933d2fe7f63b0a202cdb058f31bc40 Mon Sep 17 00:00:00 2001 From: Dhghomon Date: Wed, 7 Feb 2024 11:43:26 +0900 Subject: [PATCH] formatting --- docs/guides/tutorials/rust_axum.rst | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/guides/tutorials/rust_axum.rst b/docs/guides/tutorials/rust_axum.rst index 35f911ab909..63528013ef8 100644 --- a/docs/guides/tutorials/rust_axum.rst +++ b/docs/guides/tutorials/rust_axum.rst @@ -206,14 +206,14 @@ an existing city (i.e. the same location). .. code-block:: sdl-diff - type City { - required name: str; - required latitude: Latitude; - required longitude: Longitude; - multi conditions := (select ..latitude ++ .longitude; - + constraint exclusive on (.key); - } + type City { + required name: str; + required latitude: Latitude; + required longitude: Longitude; + multi conditions := (select ..latitude ++ .longitude; + + constraint exclusive on (.key); + } You could give this or another method a try if you are feeling ambitious. @@ -1058,7 +1058,7 @@ into a ``LocalDatetime`` instead of a ``String``. .. lint-off Conversely, the unofficial -`edgedb-query-derive ` +`edgedb-query-derive `_ crate provides a way to turn Rust types into EdgeQL queries using its ``.to_edge_query()`` method.