Skip to content

Commit 095194f

Browse files
TheBlueMatttnull
authored andcommitted
Mark static method string as 'static
since it is
1 parent 5e0c5f0 commit 095194f

File tree

1 file changed

+1
-1
lines changed
  • lightning-liquidity/src/lsps0

1 file changed

+1
-1
lines changed

lightning-liquidity/src/lsps0/msgs.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ pub enum LSPS0Request {
4141

4242
impl LSPS0Request {
4343
/// Returns the method name associated with the given request variant.
44-
pub fn method(&self) -> &str {
44+
pub fn method(&self) -> &'static str {
4545
match self {
4646
LSPS0Request::ListProtocols(_) => LSPS0_LISTPROTOCOLS_METHOD_NAME,
4747
}

0 commit comments

Comments
 (0)