about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorJose Narvaez <goyox86@gmail.com>2015-10-15 14:56:03 +0100
committerJose Narvaez <goyox86@gmail.com>2015-10-15 14:56:03 +0100
commite7be2c3e99d3bf7287906c4c35c6822784924b10 (patch)
treeb3029bbf96f410c72ab13af73994c7f0f82d0617 /src
parent00c4f06292d707b18990a326c51d90b8273ef20a (diff)
downloadrust-e7be2c3e99d3bf7287906c4c35c6822784924b10.tar.gz
rust-e7be2c3e99d3bf7287906c4c35c6822784924b10.zip
Fixed comment.
Diffstat (limited to 'src')
-rw-r--r--src/libarena/lib.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libarena/lib.rs b/src/libarena/lib.rs
index 0d599f736e6..7faaf5d332e 100644
--- a/src/libarena/lib.rs
+++ b/src/libarena/lib.rs
@@ -390,8 +390,9 @@ struct TypedArenaChunk<T> {
     next: *mut TypedArenaChunk<T>,
 
     /// The number of elements that this chunk can hold.
-    // Objects follow here, suitably aligned.
     capacity: usize,
+
+    // Objects follow here, suitably aligned.
 }
 
 fn calculate_size<T>(capacity: usize) -> usize {