rust/src/librustdoc
Alex Crichton 48615a68fb std: Account for CRLF in {str, BufRead}::lines
This commit is an implementation of [RFC 1212][rfc] which tweaks the behavior of
the `str::lines` and `BufRead::lines` iterators. Both iterators now account for
`\r\n` sequences in addition to `\n`, allowing for less surprising behavior
across platforms (especially in the `BufRead` case). Splitting *only* on the
`\n` character can still be achieved with `split('\n')` in both cases.

The `str::lines_any` function is also now deprecated as `str::lines` is a
drop-in replacement for it.

[rfc]: https://github.com/rust-lang/rfcs/blob/master/text/1212-line-endings.md

Closes #28032
2015-09-03 23:01:41 -07:00
..
clean Use consistent terminology for byte string literals 2015-09-03 10:54:53 +03:00
html Use consistent terminology for byte string literals 2015-09-03 10:54:53 +03:00
core.rs Add an intital HIR and lowering step 2015-09-03 10:02:36 +12:00
doctree.rs Add an intital HIR and lowering step 2015-09-03 10:02:36 +12:00
externalfiles.rs Add generic conversion traits 2015-03-23 15:01:45 -07:00
flock.rs Add netbsd amd64 support 2015-07-01 19:09:14 -07:00
fold.rs rustdoc: Run external traits through filters 2015-04-07 17:54:33 -07:00
lib.rs Add an intital HIR and lowering step 2015-09-03 10:02:36 +12:00
markdown.rs fix rustdoc metadata parsing 2015-07-30 15:51:50 -07:00
passes.rs std: Account for CRLF in {str, BufRead}::lines 2015-09-03 23:01:41 -07:00
plugins.rs Remove all unstable deprecated functionality 2015-08-12 14:55:17 -07:00
test.rs Add an intital HIR and lowering step 2015-09-03 10:02:36 +12:00
visit_ast.rs Add an intital HIR and lowering step 2015-09-03 10:02:36 +12:00