From d626ac3dc0aa4889e54de8a2648aca3f6e1bbc98 Mon Sep 17 00:00:00 2001 From: Matt Brubeck Date: Wed, 6 Aug 2014 16:34:46 -0700 Subject: [PATCH] Fix rustdoc comment syntax --- src/components/gfx/text/shaping/mod.rs | 6 +++--- src/components/layout/layout_task.rs | 2 +- src/components/msg/constellation_msg.rs | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/gfx/text/shaping/mod.rs b/src/components/gfx/text/shaping/mod.rs index 9dd15aa03c1..ef4bc2088f0 100644 --- a/src/components/gfx/text/shaping/mod.rs +++ b/src/components/gfx/text/shaping/mod.rs @@ -3,9 +3,9 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ //! Shaper encapsulates a specific shaper, such as Harfbuzz, -/// Uniscribe, Pango, or Coretext. -/// -/// Currently, only harfbuzz bindings are implemented. +//! Uniscribe, Pango, or Coretext. +//! +//! Currently, only harfbuzz bindings are implemented. use text::glyph::GlyphStore; diff --git a/src/components/layout/layout_task.rs b/src/components/layout/layout_task.rs index 8be01717035..8c3fecd3368 100644 --- a/src/components/layout/layout_task.rs +++ b/src/components/layout/layout_task.rs @@ -3,7 +3,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ //! The layout task. Performs layout on the DOM, builds display lists and sends them to be -/// rendered. +//! rendered. use css::matching::{ApplicableDeclarations, ApplicableDeclarationsCache, MatchMethods}; use css::matching::{StyleSharingCandidateCache}; diff --git a/src/components/msg/constellation_msg.rs b/src/components/msg/constellation_msg.rs index 1969b7d7513..e85951f1ce7 100644 --- a/src/components/msg/constellation_msg.rs +++ b/src/components/msg/constellation_msg.rs @@ -3,7 +3,7 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ //! The high-level interface from script to constellation. Using this abstract interface helps reduce -/// coupling between these two components +//! coupling between these two components use geom::rect::Rect; use geom::size::TypedSize2D;