We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
'static
1 parent b1fc7d8 commit 546559fCopy full SHA for 546559f
lightning-liquidity/src/lsps0/msgs.rs
@@ -38,7 +38,7 @@ pub enum LSPS0Request {
38
39
impl LSPS0Request {
40
/// Returns the method name associated with the given request variant.
41
- pub fn method(&self) -> &str {
+ pub fn method(&self) -> &'static str {
42
match self {
43
LSPS0Request::ListProtocols(_) => LSPS0_LISTPROTOCOLS_METHOD_NAME,
44
}
0 commit comments