Skip to content

Commit

Permalink
const
Browse files Browse the repository at this point in the history
  • Loading branch information
robertbastian committed Jun 2, 2023
1 parent 4e95e9e commit 229d7b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion provider/core/src/response.rs
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ where

#[doc(hidden)]
#[inline]
pub fn from_static_ref(data: &'static M::Yokeable) -> Self {
pub const fn from_static_ref(data: &'static M::Yokeable) -> Self {
Self(DataPayloadInner::StaticRef(data))
}

Expand Down

0 comments on commit 229d7b7

Please sign in to comment.