Add #[inline(always)]
to into_query_param
This commit is contained in:
parent
f0c77337e1
commit
04c91a0bba
@ -202,12 +202,14 @@ mod sealed {
|
||||
}
|
||||
|
||||
impl<P> IntoQueryParam<P> for P {
|
||||
#[inline(always)]
|
||||
fn into_query_param(self) -> P {
|
||||
self
|
||||
}
|
||||
}
|
||||
|
||||
impl IntoQueryParam<DefId> for LocalDefId {
|
||||
#[inline(always)]
|
||||
fn into_query_param(self) -> DefId {
|
||||
self.to_def_id()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user