Inline and replace Statement::replace_nop.

It has a single call site, and doesn't seem worth having as an API
function.
This commit is contained in:
Nicholas Nethercote 2025-02-18 13:40:58 +11:00
parent 69f5e342bf
commit 04eeda47ab
3 changed files with 6 additions and 13 deletions

View file

@ -4,8 +4,8 @@
use std::borrow::Cow;
use std::fmt::{self, Debug, Formatter};
use std::iter;
use std::ops::{Index, IndexMut};
use std::{iter, mem};
pub use basic_blocks::BasicBlocks;
use either::Either;