@@ -8,7 +8,7 @@ fn main() {
8
8
test_localtime_r_gmt ( ) ;
9
9
test_localtime_r_pst ( ) ;
10
10
test_localtime_r_epoch ( ) ;
11
- // Architecture-specific tests
11
+ // Architecture-specific tests.
12
12
#[ cfg( target_pointer_width = "32" ) ]
13
13
test_localtime_r_future_32b ( ) ;
14
14
#[ cfg( target_pointer_width = "64" ) ]
@@ -53,7 +53,7 @@ fn test_posix_gettimeofday() {
53
53
assert_eq ! ( is_error, -1 ) ;
54
54
}
55
55
56
- // Helper function to create an empty tm struct
56
+ // Helper function to create an empty tm struct.
57
57
fn create_empty_tm ( ) -> libc:: tm {
58
58
libc:: tm {
59
59
tm_sec : 0 ,
@@ -121,7 +121,7 @@ fn test_localtime_r_gmt() {
121
121
env:: remove_var ( key) ;
122
122
}
123
123
124
- // PST timezone test (testing different timezone handling)
124
+ // PST timezone test (testing different timezone handling).
125
125
fn test_localtime_r_pst ( ) {
126
126
let key = "TZ" ;
127
127
env:: set_var ( key, "PST8PDT" ) ;
@@ -158,7 +158,7 @@ fn test_localtime_r_pst() {
158
158
env:: remove_var ( key) ;
159
159
}
160
160
161
- // Unix epoch test (edge case testing)
161
+ // Unix epoch test (edge case testing).
162
162
fn test_localtime_r_epoch ( ) {
163
163
let key = "TZ" ;
164
164
env:: set_var ( key, "GMT" ) ;
@@ -195,7 +195,7 @@ fn test_localtime_r_epoch() {
195
195
env:: remove_var ( key) ;
196
196
}
197
197
198
- // Future date test (testing large values)
198
+ // Future date test (testing large values).
199
199
#[ cfg( target_pointer_width = "64" ) ]
200
200
fn test_localtime_r_future_64b ( ) {
201
201
let key = "TZ" ;
0 commit comments