Skip to content

Commit 3871caf

Browse files
authored
* DOCSP-29400 Add RustTab to transactions page * *
1 parent 9d2e44f commit 3871caf

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

source/core/transactions.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,16 @@ This example highlights the key components of the transactions API.
263263
:start-after: Start Transactions withTxn API Example 1
264264
:end-before: End Transactions withTxn API Example 1
265265

266+
.. tab::
267+
:tabid: rust
268+
269+
.. include:: /includes/extracts/transactions-example-note.rst
270+
271+
.. literalinclude:: /driver-examples/mod.rs
272+
:language: rust
273+
:dedent: 4
274+
:start-after: Start Transactions withTxn API Example 1
275+
:end-before: End Transactions withTxn API Example 1
266276

267277
.. tab::
268278
:tabid: go

0 commit comments

Comments
 (0)