<turbo-stream action="append" target="posts_list"><template>    <div class="postbit" id="148183" data-post-id="148183">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="OvermindDL1" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/OvermindDL1/120/2677_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  OvermindDL1
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<aside class="quote no-group" data-username="Ankhers" data-post="11" data-topic="26336">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/letter_avatar_proxy/v4/letter/a/ce7236/48.png" class="avatar"> Ankhers:</div>
<blockquote>
<p>Until just reading this, I have had an issue with excluding the <code>;</code> from the last line of my rust functions (at least ones that return a value, it feels like I always add it). This makes so much more sense now that I don’t think of it as a statement seperator.</p>
</blockquote>
</aside>
<p>If it helps you can even put it on it’s own line, or at the beginning of lines, etc…  It doesn’t “need” to go at the end, though <code>rustfmt</code> will move it there, but yeah, it’s just another binary operator like <code>+</code> or whatever.  ^.^</p>
<p>This is even baked into languages like OCaml, where:</p>
<pre data-code-wrap="ocaml"><code class="lang-ocaml">left ; right
</code></pre>
<p>It exactly identical to (with warnings/errors enabled):</p>
<pre data-code-wrap="ocaml"><code class="lang-ocaml">let () = left in right
</code></pre>
<p>Where it even enforces that the left must be a statement with a useless <code>unit</code> value.  <img src="https://forum.elixirforum.com/images/emoji/apple/slight_smile.png?v=15" title=":slight_smile:" class="emoji" alt=":slight_smile:" loading="lazy" width="20" height="20"></p>
<p>Then again, in rust instead of doing <code>blah</code> at the end you can always do <code>return blah;</code>, which is technically an early return with a no-op expression as the ‘right’ operand after it (which seems a bit messy to me, lol).   ^.^</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="148183" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/will-learning-erlang-help-in-learning-elixir-and-phoenix/26336/12">Post #11</a>
	                </div>
	            </div>
              <div id="likers-container-148183" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="148183"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-last-post cat-last-post" title="Last post!"></div>
  </section>
</div>
</template></turbo-stream><turbo-stream action="replace" target="load-more-container"><template><div id="load-more-container" class="load-more-container">
    <span class="all-loaded">— All posts loaded —</span>
</div></template></turbo-stream>