Mercurial > public > mercurial-scm > hg
comparison rust/hg-core/src/revlog.rs @ 44088:b3ec1ea95ee6
rust-core: fix typo in comment
Differential Revision: https://phab.mercurial-scm.org/D7895
author | Aay Jay Chan <aayjaychan@itopia.com.hk> |
---|---|
date | Thu, 16 Jan 2020 00:30:08 +0800 |
parents | 6b332c1fc7fe |
children | 63db6657d280 |
comparison
equal
deleted
inserted
replaced
44087:dc9b53482689 | 44088:b3ec1ea95ee6 |
---|---|
12 pub type Revision = i32; | 12 pub type Revision = i32; |
13 | 13 |
14 /// Marker expressing the absence of a parent | 14 /// Marker expressing the absence of a parent |
15 /// | 15 /// |
16 /// Independently of the actual representation, `NULL_REVISION` is guaranteed | 16 /// Independently of the actual representation, `NULL_REVISION` is guaranteed |
17 /// to be smaller that all existing revisions. | 17 /// to be smaller than all existing revisions. |
18 pub const NULL_REVISION: Revision = -1; | 18 pub const NULL_REVISION: Revision = -1; |
19 | 19 |
20 /// Same as `mercurial.node.wdirrev` | 20 /// Same as `mercurial.node.wdirrev` |
21 /// | 21 /// |
22 /// This is also equal to `i32::max_value()`, but it's better to spell | 22 /// This is also equal to `i32::max_value()`, but it's better to spell |