We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
'static
1 parent 5e0c5f0 commit 095194fCopy full SHA for 095194f
lightning-liquidity/src/lsps0/msgs.rs
@@ -41,7 +41,7 @@ pub enum LSPS0Request {
41
42
impl LSPS0Request {
43
/// Returns the method name associated with the given request variant.
44
- pub fn method(&self) -> &str {
+ pub fn method(&self) -> &'static str {
45
match self {
46
LSPS0Request::ListProtocols(_) => LSPS0_LISTPROTOCOLS_METHOD_NAME,
47
}
0 commit comments