Skip to content

Commit 0b0152d

Browse files
Update rust/cardano-blockchain-types/src/point.rs
Co-authored-by: Stanislav Tkach <[email protected]>
1 parent c80fa33 commit 0b0152d

File tree

1 file changed

+2
-2
lines changed
  • rust/cardano-blockchain-types/src

1 file changed

+2
-2
lines changed

rust/cardano-blockchain-types/src/point.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ impl Point {
223223
}
224224
}
225225

226-
/// Check if a Point is actually unknown.
226+
/// Check if a Point is the tip.
227227
///
228228
/// # Examples
229229
///
@@ -232,7 +232,7 @@ impl Point {
232232
///
233233
/// let point = Point::fuzzy(0);
234234
///
235-
/// assert!(point.is_unknown());
235+
/// assert!(!point.is_tip());
236236
/// ```
237237
#[must_use]
238238
pub fn is_tip(&self) -> bool {

0 commit comments

Comments
 (0)