Skip to content

Commit 99cd180

Browse files
committed
f - doc fixes
1 parent df4eee0 commit 99cd180

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lightning/src/offers/offer.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ impl OfferBuilder {
101101
self
102102
}
103103

104-
/// Sets the metadata for the offer.
104+
/// Sets the metadata for the offer. Useful for authentication and validating fields.
105105
///
106106
/// Successive calls to this method will override the previous setting.
107107
pub fn metadata(mut self, metadata: Vec<u8>) -> Self {
@@ -133,7 +133,7 @@ impl OfferBuilder {
133133
self
134134
}
135135

136-
/// Sets the issuer for the offer as seconds since the Unix epoch.
136+
/// Sets the issuer for the offer.
137137
///
138138
/// Successive calls to this method will override the previous setting.
139139
pub fn issuer(mut self, issuer: String) -> Self {
@@ -149,7 +149,7 @@ impl OfferBuilder {
149149
self
150150
}
151151

152-
/// Sets a fixed quantity of items for the offer.
152+
/// Sets a fixed quantity of items for the offer. If not set, `1` is assumed.
153153
///
154154
/// Successive calls to this method or [`quantity_range`] will override the previous setting.
155155
///
@@ -161,7 +161,7 @@ impl OfferBuilder {
161161
self
162162
}
163163

164-
/// Sets a quantity range of items for the offer.
164+
/// Sets a quantity range of items for the offer. If not set, `1` is assumed.
165165
///
166166
/// Successive calls to this method or [`quantity_fixed`] will override the previous setting.
167167
///

0 commit comments

Comments
 (0)