div class="created-date">Dec 20, 2021, 9:19 PM(edited: Dec 20, 2021, 9:39 PM)</div><div class="comment-context"><div class="comment-context-intro">Selected text:</div><div class="comment-context-value">but only works for a given scope, so is more like try-finally than RAII.</div></div><div class="comment-content">I&#39;m not sure where you got this from, rust&#39;s RAII is almost exactly C++&#39;s RAII but with destructive moves</div></div><div class="reply-list"><div id="AAAATTv0iSg" class="reply-box"><div