Skip to content

Commit

Permalink
Deploying to gh-pages from @ fb39a30 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
github-merge-queue[bot] committed Apr 1, 2024
1 parent b01fba5 commit 78258a3
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion cpp.html
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ <h2><a class="header" href="#constructor-semantics" id="constructor-semantics">C
instance.assume_init_mut().method();
</code></pre>
<p>You can easily verify this fact if you provide a implementation for <code>MyClass</code>
and <code>method</code> that prints the the <code>this</code> pointer address. However, you can
and <code>method</code> that prints the <code>this</code> pointer address. However, you can
ignore this fact if you know that the original C++ code does not rely on the
instance address in its internal logic.</p>

Expand Down
6 changes: 3 additions & 3 deletions print.html
Original file line number Diff line number Diff line change
Expand Up @@ -1210,7 +1210,7 @@ <h2><a class="header" href="#constructor-semantics" id="constructor-semantics">C
instance.assume_init_mut().method();
</code></pre>
<p>You can easily verify this fact if you provide a implementation for <code>MyClass</code>
and <code>method</code> that prints the the <code>this</code> pointer address. However, you can
and <code>method</code> that prints the <code>this</code> pointer address. However, you can
ignore this fact if you know that the original C++ code does not rely on the
instance address in its internal logic.</p>
<h1><a class="header" href="#generating-bindings-to-objective-c" id="generating-bindings-to-objective-c">Generating Bindings to Objective-C</a></h1>
Expand Down Expand Up @@ -1335,11 +1335,11 @@ <h2><a class="header" href="#using-the-union-builtin" id="using-the-union-builti
<pre><code class="language-rust ignore">mod bindings_builtin_union;

fn union_builtin() {
// Initalize the union to zero
// Initialize the union to zero
let x = bindings_builtin_union::greek_t::default();

// If `--with-derive-default` option is not used, the following may be used
// to initalize the union to zero:
// to initialize the union to zero:
let x = unsafe { std::mem::zeroed::&lt;bindings_builtin_union::greek_t&gt;() };

// Or, it is possible to initialize exactly one variant of the enum:
Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion searchindex.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions using-unions.html
Original file line number Diff line number Diff line change
Expand Up @@ -223,11 +223,11 @@ <h2><a class="header" href="#using-the-union-builtin" id="using-the-union-builti
<pre><code class="language-rust ignore">mod bindings_builtin_union;

fn union_builtin() {
// Initalize the union to zero
// Initialize the union to zero
let x = bindings_builtin_union::greek_t::default();

// If `--with-derive-default` option is not used, the following may be used
// to initalize the union to zero:
// to initialize the union to zero:
let x = unsafe { std::mem::zeroed::&lt;bindings_builtin_union::greek_t&gt;() };

// Or, it is possible to initialize exactly one variant of the enum:
Expand Down

0 comments on commit 78258a3

Please sign in to comment.