Refine inlining.
This commit is contained in:
@@ -48,6 +48,7 @@ pub enum DebuggerCommand {
|
||||
|
||||
impl Default for DebuggerCommand {
|
||||
#[inline(always)]
|
||||
#[must_use]
|
||||
fn default() -> Self {
|
||||
Self::Continue
|
||||
}
|
||||
|
@@ -316,7 +316,6 @@ impl IntoIterator for GlobalRuntimeState<'_> {
|
||||
std::iter::Rev<smallvec::IntoIter<[crate::Shared<crate::Module>; 3]>>,
|
||||
>;
|
||||
|
||||
#[inline]
|
||||
fn into_iter(self) -> Self::IntoIter {
|
||||
self.keys
|
||||
.into_iter()
|
||||
@@ -333,10 +332,8 @@ impl<'a> IntoIterator for &'a GlobalRuntimeState<'_> {
|
||||
std::iter::Rev<std::slice::Iter<'a, crate::Shared<crate::Module>>>,
|
||||
>;
|
||||
|
||||
#[inline]
|
||||
fn into_iter(self) -> Self::IntoIter {
|
||||
let x = self.keys.iter().rev().zip(self.modules.iter().rev());
|
||||
x
|
||||
self.keys.iter().rev().zip(self.modules.iter().rev())
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -399,7 +399,6 @@ impl Deref for Target<'_> {
|
||||
type Target = Dynamic;
|
||||
|
||||
#[inline]
|
||||
#[must_use]
|
||||
fn deref(&self) -> &Dynamic {
|
||||
match self {
|
||||
Self::RefMut(r) => r,
|
||||
@@ -425,7 +424,6 @@ impl AsRef<Dynamic> for Target<'_> {
|
||||
|
||||
impl DerefMut for Target<'_> {
|
||||
#[inline]
|
||||
#[must_use]
|
||||
fn deref_mut(&mut self) -> &mut Dynamic {
|
||||
match self {
|
||||
Self::RefMut(r) => r,
|
||||
|
Reference in New Issue
Block a user