Skip to content

Commit 725adba

Browse files
author
J. Cliff Dyer
committed
Update obsolete comment.
1 parent b89880c commit 725adba

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/clang.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -349,9 +349,7 @@ impl Cursor {
349349

350350
/// Get the signed constant value for this cursor's enum variant referent.
351351
///
352-
/// Returns `LLONG_MIN` if the cursor's referent is not an enum variant,
353-
/// which is also a valid enum value, so callers should check the cursor
354-
/// kind before calling this method (see issue #127).
352+
/// Returns None if the cursor's referent is not an enum variant.
355353
pub fn enum_val_signed(&self) -> Option<i64> {
356354
unsafe {
357355
if self.kind() == CXCursor_EnumConstantDecl {

0 commit comments

Comments
 (0)