aboutsummaryrefslogtreecommitdiff
path: root/lib/xixanta/src/node.rs
diff options
context:
space:
mode:
Diffstat (limited to 'lib/xixanta/src/node.rs')
-rw-r--r--lib/xixanta/src/node.rs6
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(' ');