Skip to content

Commit 947eabb

Browse files
committed
bindings: rename description -> invoice_description
the description is a keyword in swift
1 parent 5e97cd8 commit 947eabb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lwk_bindings/src/invoice.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ impl Bolt11Invoice {
5959
}
6060

6161
/// Returns the invoice description as a string
62-
pub fn description(&self) -> String {
62+
pub fn invoice_description(&self) -> String {
6363
format!("{}", self.inner.description())
6464
}
6565

0 commit comments

Comments
 (0)