Skip to content

Commit a3e2d6e

Browse files
committedApr 3, 2013
Remove excess trailing whitespace.
1 parent 948ff60 commit a3e2d6e

File tree

1 file changed

+61
-61
lines changed

1 file changed

+61
-61
lines changed
 

‎src/libcore/io.rs

+61-61
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,10 @@ impl Reader for @Reader {
9696
/**
9797
* The `ReaderUtil` trait is a home for many of the utility functions
9898
* a particular Reader should implement.
99-
*
99+
*
100100
* The default `Reader` trait is focused entirely on bytes. `ReaderUtil` is based
101101
* on higher-level concepts like 'chars' and 'lines.'
102-
*
102+
*
103103
* # Examples:
104104
*
105105
* None right now.
@@ -117,7 +117,7 @@ pub trait ReaderUtil {
117117

118118
/**
119119
* Reads up until a specific character or EOF.
120-
*
120+
*
121121
* The `include` parameter specifies if the character should be included
122122
* in the returned string.
123123
*
@@ -129,7 +129,7 @@ pub trait ReaderUtil {
129129

130130
/**
131131
* Reads up until the first '\n' or EOF.
132-
*
132+
*
133133
* The '\n' is not included in the result.
134134
*
135135
* # Examples
@@ -140,9 +140,9 @@ pub trait ReaderUtil {
140140

141141
/**
142142
* Reads `n` chars.
143-
*
143+
*
144144
* Assumes that those chars are UTF-8 encoded.
145-
*
145+
*
146146
* The '\n' is not included in the result.
147147
*
148148
* # Examples
@@ -209,7 +209,7 @@ pub trait ReaderUtil {
209209

210210
/**
211211
* Reads all of the lines in the stream.
212-
*
212+
*
213213
* Returns a vector of those lines.
214214
*
215215
* # Examples
@@ -220,9 +220,9 @@ pub trait ReaderUtil {
220220

221221
/**
222222
* Reads `n` little-endian unsigned integer bytes.
223-
*
223+
*
224224
* `n` must be between 1 and 8, inclusive.
225-
*
225+
*
226226
* # Examples
227227
*
228228
* None right now.
@@ -231,9 +231,9 @@ pub trait ReaderUtil {
231231

232232
/**
233233
* Reads `n` little-endian signed integer bytes.
234-
*
234+
*
235235
* `n` must be between 1 and 8, inclusive.
236-
*
236+
*
237237
* # Examples
238238
*
239239
* None right now.
@@ -242,9 +242,9 @@ pub trait ReaderUtil {
242242

243243
/**
244244
* Reads `n` big-endian unsigned integer bytes.
245-
*
245+
*
246246
* `n` must be between 1 and 8, inclusive.
247-
*
247+
*
248248
* # Examples
249249
*
250250
* None right now.
@@ -253,9 +253,9 @@ pub trait ReaderUtil {
253253

254254
/**
255255
* Reads `n` big-endian signed integer bytes.
256-
*
256+
*
257257
* `n` must be between 1 and 8, inclusive.
258-
*
258+
*
259259
* # Examples
260260
*
261261
* None right now.
@@ -264,9 +264,9 @@ pub trait ReaderUtil {
264264

265265
/**
266266
* Reads a little-endian unsigned integer.
267-
*
267+
*
268268
* The number of bytes returned is system-dependant.
269-
*
269+
*
270270
* # Examples
271271
*
272272
* None right now.
@@ -275,9 +275,9 @@ pub trait ReaderUtil {
275275

276276
/**
277277
* Reads a little-endian integer.
278-
*
278+
*
279279
* The number of bytes returned is system-dependant.
280-
*
280+
*
281281
* # Examples
282282
*
283283
* None right now.
@@ -286,9 +286,9 @@ pub trait ReaderUtil {
286286

287287
/**
288288
* Reads a big-endian unsigned integer.
289-
*
289+
*
290290
* The number of bytes returned is system-dependant.
291-
*
291+
*
292292
* # Examples
293293
*
294294
* None right now.
@@ -297,9 +297,9 @@ pub trait ReaderUtil {
297297

298298
/**
299299
* Reads a big-endian integer.
300-
*
300+
*
301301
* The number of bytes returned is system-dependant.
302-
*
302+
*
303303
* # Examples
304304
*
305305
* None right now.
@@ -308,9 +308,9 @@ pub trait ReaderUtil {
308308

309309
/**
310310
* Reads a big-endian `u64`.
311-
*
311+
*
312312
* `u64`s are 8 bytes long.
313-
*
313+
*
314314
* # Examples
315315
*
316316
* None right now.
@@ -319,9 +319,9 @@ pub trait ReaderUtil {
319319

320320
/**
321321
* Reads a big-endian `u32`.
322-
*
322+
*
323323
* `u32`s are 4 bytes long.
324-
*
324+
*
325325
* # Examples
326326
*
327327
* None right now.
@@ -330,9 +330,9 @@ pub trait ReaderUtil {
330330

331331
/**
332332
* Reads a big-endian `u16`.
333-
*
333+
*
334334
* `u16`s are 2 bytes long.
335-
*
335+
*
336336
* # Examples
337337
*
338338
* None right now.
@@ -341,9 +341,9 @@ pub trait ReaderUtil {
341341

342342
/**
343343
* Reads a big-endian `i64`.
344-
*
344+
*
345345
* `i64`s are 8 bytes long.
346-
*
346+
*
347347
* # Examples
348348
*
349349
* None right now.
@@ -352,9 +352,9 @@ pub trait ReaderUtil {
352352

353353
/**
354354
* Reads a big-endian `i32`.
355-
*
355+
*
356356
* `i32`s are 4 bytes long.
357-
*
357+
*
358358
* # Examples
359359
*
360360
* None right now.
@@ -363,9 +363,9 @@ pub trait ReaderUtil {
363363

364364
/**
365365
* Reads a big-endian `i16`.
366-
*
366+
*
367367
* `i16`s are 2 bytes long.
368-
*
368+
*
369369
* # Examples
370370
*
371371
* None right now.
@@ -374,9 +374,9 @@ pub trait ReaderUtil {
374374

375375
/**
376376
* Reads a big-endian `f64`.
377-
*
377+
*
378378
* `f64`s are 8 byte, IEEE754 double-precision floating point numbers.
379-
*
379+
*
380380
* # Examples
381381
*
382382
* None right now.
@@ -385,9 +385,9 @@ pub trait ReaderUtil {
385385

386386
/**
387387
* Reads a big-endian `f32`.
388-
*
388+
*
389389
* `f32`s are 4 byte, IEEE754 single-precision floating point numbers.
390-
*
390+
*
391391
* # Examples
392392
*
393393
* None right now.
@@ -396,9 +396,9 @@ pub trait ReaderUtil {
396396

397397
/**
398398
* Reads a little-endian `u64`.
399-
*
399+
*
400400
* `u64`s are 8 bytes long.
401-
*
401+
*
402402
* # Examples
403403
*
404404
* None right now.
@@ -407,9 +407,9 @@ pub trait ReaderUtil {
407407

408408
/**
409409
* Reads a little-endian `u32`.
410-
*
410+
*
411411
* `u32`s are 4 bytes long.
412-
*
412+
*
413413
* # Examples
414414
*
415415
* None right now.
@@ -418,9 +418,9 @@ pub trait ReaderUtil {
418418

419419
/**
420420
* Reads a little-endian `u16`.
421-
*
421+
*
422422
* `u16`s are 2 bytes long.
423-
*
423+
*
424424
* # Examples
425425
*
426426
* None right now.
@@ -429,9 +429,9 @@ pub trait ReaderUtil {
429429

430430
/**
431431
* Reads a little-endian `i64`.
432-
*
432+
*
433433
* `i64`s are 8 bytes long.
434-
*
434+
*
435435
* # Examples
436436
*
437437
* None right now.
@@ -440,9 +440,9 @@ pub trait ReaderUtil {
440440

441441
/**
442442
* Reads a little-endian `i32`.
443-
*
443+
*
444444
* `i32`s are 4 bytes long.
445-
*
445+
*
446446
* # Examples
447447
*
448448
* None right now.
@@ -451,9 +451,9 @@ pub trait ReaderUtil {
451451

452452
/**
453453
* Reads a little-endian `i16`.
454-
*
454+
*
455455
* `i16`s are 2 bytes long.
456-
*
456+
*
457457
* # Examples
458458
*
459459
* None right now.
@@ -462,9 +462,9 @@ pub trait ReaderUtil {
462462

463463
/**
464464
* Reads a little-endian `f64`.
465-
*
465+
*
466466
* `f64`s are 8 byte, IEEE754 double-precision floating point numbers.
467-
*
467+
*
468468
* # Examples
469469
*
470470
* None right now.
@@ -473,31 +473,31 @@ pub trait ReaderUtil {
473473

474474
/**
475475
* Reads a little-endian `f32`.
476-
*
476+
*
477477
* `f32`s are 4 byte, IEEE754 single-precision floating point numbers.
478-
*
478+
*
479479
* # Examples
480480
*
481481
* None right now.
482482
*/
483483
fn read_le_f32(&self) -> f32;
484484

485485
/**
486-
* Read a u8.
487-
*
486+
* Read a u8.
487+
*
488488
* `u8`s are 1 byte.
489-
*
489+
*
490490
* # Examples
491491
*
492492
* None right now.
493493
*/
494494
fn read_u8(&self) -> u8;
495495

496496
/**
497-
* Read an i8.
498-
*
497+
* Read an i8.
498+
*
499499
* `i8`s are 1 byte.
500-
*
500+
*
501501
* # Examples
502502
*
503503
* None right now.

0 commit comments

Comments
 (0)