diff options
| author | Miquel Sabaté Solà <mikisabate@gmail.com> | 2024-12-19 13:24:08 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <mikisabate@gmail.com> | 2024-12-19 13:24:08 +0100 |
| commit | fee47f49f1451a078236802f6292fb8fd70fb782 (patch) | |
| tree | 50a692d1c43a3cd8bf7c9df2ba112148fdf4cfff /lib/xixanta/src | |
| parent | 69b878d11984b3cf2e1cccc33318bc64c9f62554 (diff) | |
| download | tools.nes-fee47f49f1451a078236802f6292fb8fd70fb782.tar.gz tools.nes-fee47f49f1451a078236802f6292fb8fd70fb782.zip | |
Export documentation on PString::to_isize
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Diffstat (limited to 'lib/xixanta/src')
| -rw-r--r-- | lib/xixanta/src/node.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/xixanta/src/node.rs b/lib/xixanta/src/node.rs index bab9420..abc38a1 100644 --- a/lib/xixanta/src/node.rs +++ b/lib/xixanta/src/node.rs @@ -104,9 +104,9 @@ impl PString { it.all(|current| init == current) } - // Returns the isize value that can be computed assuming that this is an - // anonymous relative reference. References to a previous label will have a - // negative value, while references to next labels have a positive one. + /// Returns the isize value that can be computed assuming that this is an + /// anonymous relative reference. References to a previous label will have a + /// negative value, while references to next labels have a positive one. pub fn to_isize(&self) -> isize { let c = self.value.chars().nth(1).unwrap_or(' '); |
