rust/src
Michael Macias b6c2e82b71 rustdoc: Add a custom callback for codespan to collapse whitespace
Because the current style for `code` in rustdoc is to prewrap
whitespace, code spans that are hard wrapped in the source
documentation are prematurely wrapped when rendered in HTML.

CommonMark 0.18 [[1]] specifies "interior spaces and line endings are
collapsed into single spaces" for code spans, which would actually
prevent this issue, but hoedown does not currently conform to the
CommonMark spec.

The added span-level callback attempts to adhere to how whitespace is
handled as described by CommonMark, fixing the issue of early,
unintentional wrapping of code spans in rendered HTML.

[1]: http://spec.commonmark.org/0.18/
2015-04-06 13:02:41 -05:00
..
compiler-rt@58ab642c30
compiletest fixing some tests and temporarily disabling others to get Bitrig build working 100% 2015-04-04 12:33:44 -07:00
doc Auto merge of #24087 - mossberg:docs-comma, r=steveklabnik 2015-04-06 02:00:21 +00:00
driver Unquote all crate names without underscores 2015-03-27 10:58:12 -07:00
etc rustup: Fix typo in nightly 2015-04-01 13:18:25 -07:00
grammar Strip all leading/trailing newlines 2015-03-15 09:08:21 -07:00
jemalloc@e24a1a025a bumping again to get the updated configure 2015-03-05 12:38:35 +05:30
liballoc Removed explicit lifetimes for get_mut. Fixed the doc test. 2015-04-04 19:01:48 -04:00
libarena Deprecate MarkerTrait and PhantomFn. 2015-04-02 13:25:06 -04:00
libbacktrace Strip trailing whitespace 2015-03-15 11:25:43 -07:00
libcollections Rollup merge of #24012 - tsion:patch-1, r=steveklabnik 2015-04-04 10:56:06 +05:30
libcollectionstest Auto merge of #23832 - petrochenkov:usize, r=aturon 2015-04-03 04:29:52 +00:00
libcore Remove unnecessary returns in API examples 2015-04-06 00:06:24 -07:00
libcoretest Auto merge of #23832 - petrochenkov:usize, r=aturon 2015-04-03 04:29:52 +00:00
libflate Require feature attributes, and add them where necessary 2015-03-23 14:40:26 -07:00
libfmt_macros Fallout in public-facing and semi-public-facing libs 2015-04-01 11:23:45 -04:00
libgetopts Fallout in public-facing and semi-public-facing libs 2015-04-01 11:23:45 -04:00
libgraphviz Fallout in public-facing and semi-public-facing libs 2015-04-01 11:23:45 -04:00
liblibc unary negation of unsigned integers 2015-04-02 14:23:41 +02:00
liblog Fallout in public-facing and semi-public-facing libs 2015-04-01 11:23:45 -04:00
librand rollup merge of #23860: nikomatsakis/copy-requires-clone 2015-04-01 18:37:54 -07:00
librbml Fallout in public-facing and semi-public-facing libs 2015-04-01 11:23:45 -04:00
librustc Auto merge of #23938 - nikomatsakis:invariant, r=pnkfelix 2015-04-03 12:59:11 +00:00
librustc_back Fallout out rustc 2015-04-01 11:22:39 -04:00
librustc_bitflags Add #![feature] attributes to doctests 2015-03-23 14:40:26 -07:00
librustc_borrowck Fallout out rustc 2015-04-01 11:22:39 -04:00
librustc_driver rollup merge of #23860: nikomatsakis/copy-requires-clone 2015-04-01 18:37:54 -07:00
librustc_lint rollup merge of #23860: nikomatsakis/copy-requires-clone 2015-04-01 18:37:54 -07:00
librustc_llvm Fallout out rustc 2015-04-01 11:22:39 -04:00
librustc_privacy Rollup merge of #23803 - richo:unused-braces, r=Manishearth 2015-03-28 18:12:06 +05:30
librustc_resolve rollup merge of #23860: nikomatsakis/copy-requires-clone 2015-04-01 18:37:54 -07:00
librustc_trans rollup merge of #23860: nikomatsakis/copy-requires-clone 2015-04-01 18:37:54 -07:00
librustc_typeck Remove *most* mentions of phantom fns and variance on traits. Leave some 2015-04-02 13:25:06 -04:00
librustdoc rustdoc: Add a custom callback for codespan to collapse whitespace 2015-04-06 13:02:41 -05:00
libserialize Fallout in public-facing and semi-public-facing libs 2015-04-01 11:23:45 -04:00
libstd fixing some tests and temporarily disabling others to get Bitrig build working 100% 2015-04-04 12:33:44 -07:00
libsyntax Auto merge of #23974 - pnkfelix:fix-23973, r=alexcrichton 2015-04-03 01:44:00 +00:00
libterm Tweak relese notes + rebase fixes 2015-04-02 00:18:45 -07:00
libtest Tweak relese notes + rebase fixes 2015-04-02 00:18:45 -07:00
libunicode Stabilize std::num 2015-03-31 07:50:25 -07:00
llvm@bff6907697 updating llvm submodule to include bitrig support 2015-03-05 12:38:34 +05:30
rt Strip all leading/trailing newlines 2015-03-15 09:08:21 -07:00
rust-installer@ebc6b04c29 Upgrade rust-installer 2015-04-02 11:31:31 -07:00
rustbook Stabilize std::convert and related code 2015-03-31 11:24:38 -07:00
rustllvm Drop support for LLVM < 3.5 and fix compile errors with 3.5 2015-03-14 13:14:04 +01:00
test fixing some tests and temporarily disabling others to get Bitrig build working 100% 2015-04-04 12:33:44 -07:00
snapshots.txt manually adding the last two bitrig snapshots 2015-04-01 13:47:09 -07:00