Skip to content

Commit

Permalink
Built artifacts of 4fa670f [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
mhammond committed May 15, 2024
1 parent 99f375c commit 248f1e5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion search/search_index.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions tutorial/udl_file.html
Original file line number Diff line number Diff line change
Expand Up @@ -1461,8 +1461,8 @@ <h2 id="the-udl-file">The UDL File</h2>
</code></pre></div>
<p>Here you can note multiple things:</p>
<ul>
<li>The <code>namespace</code> directive: it will be the name of your Kotlin/Swift package. It <strong>must</strong> be present in any udl file, even if there ain't any exposed functions (e.g. <code>namespace foo {}</code>).
It will typically your crate name.</li>
<li>The <code>namespace</code> directive: it will be the name of your Kotlin/Swift package. It <strong>must</strong> be present in any udl file, even if there aren't any exposed functions (e.g. <code>namespace foo {}</code>).
It will typically be your crate name.</li>
<li>The <code>add</code> function is in the <code>namespace</code> block. That's because on the Rust side it is a top-level <em>function</em>, we will see later how to to handle <em>methods</em>.</li>
<li>Rust's <code>u32</code> is also UDL's <code>u32</code>, but it is not always true! See the <a href="../udl/builtin_types.html">Built-in Types</a> chapter for more information on mapping types between Rust and UDL.</li>
</ul>
Expand Down

0 comments on commit 248f1e5

Please sign in to comment.