Skip to content

Commit 9bfbbfc

Browse files
authored
DOCSP-29400 Add RustTab to transactions page (#3170)
1 parent 4eebbd3 commit 9bfbbfc

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

source/core/transactions.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,18 @@ upper-right to set the language of the following example.
216216
:start-after: Start Transactions withTxn API Example 1
217217
:end-before: End Transactions withTxn API Example 1
218218

219+
.. tab::
220+
:tabid: rust
221+
222+
.. include:: /includes/transactions/example-intro.rst
223+
224+
.. include:: /includes/extracts/transactions-example-note.rst
225+
226+
.. literalinclude:: /driver-examples/mod.rs
227+
:language: rust
228+
:dedent: 4
229+
:start-after: Start Transactions withTxn API Example 1
230+
:end-before: End Transactions withTxn API Example 1
219231

220232
.. tab::
221233
:tabid: go

0 commit comments

Comments
 (0)