Skip to content

Commit 34fce23

Browse files
author
greg
committed
fixed doc in IntegerIncrementor
1 parent 78dfde5 commit 34fce23

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

helix-core/src/increment/number.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ pub struct IntegerIncrementor<'a> {
2020

2121
impl<'a> IntegerIncrementor<'a> {
2222
/// Return information about an integer under range if there is one.
23-
/// Number includes possible negative sign, digits in bases 2, 8, 10, or 16 and underscores.
24-
/// Number does not include decimal point or trailing underscores
23+
/// Integer includes possible negative sign, digits in bases 2, 8, 10, or 16 and underscores.
24+
/// Integer does not include decimal point or trailing underscores
2525
/// Examples:
2626
/// -1, 99, 0xABCD, 0x1010, 0o1234567, 1_000_000
2727
pub fn from_range(text: RopeSlice, range: Range) -> Option<IntegerIncrementor> {

0 commit comments

Comments
 (0)