[librsvg] Consistency fixes for docs



commit 29363e64b1da74f66804753a8f5d23beb0ae8347
Author: Federico Mena Quintero <federico gnome org>
Date:   Thu Oct 31 17:35:43 2019 -0600

    Consistency fixes for docs

 librsvg_crate/src/lib.rs     | 2 +-
 rsvg_internals/src/length.rs | 2 +-
 rsvg_internals/src/lib.rs    | 1 +
 3 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/librsvg_crate/src/lib.rs b/librsvg_crate/src/lib.rs
index a8eeaa37..09141569 100644
--- a/librsvg_crate/src/lib.rs
+++ b/librsvg_crate/src/lib.rs
@@ -336,7 +336,7 @@ const DEFAULT_DPI_X: f64 = 96.0;
 const DEFAULT_DPI_Y: f64 = 96.0;
 
 #[derive(Debug, Copy, Clone, PartialEq)]
-/// Contains the values of the `<svg>` element's `width`, `height`, and `viewBox` attributes
+/// Contains the values of the `<svg>` element's `width`, `height`, and `viewBox` attributes.
 ///
 /// An SVG document has a toplevel `<svg>` element, with optional attributes `width`,
 /// `height`, and `viewBox`.  This structure contains the values for those attributes; you
diff --git a/rsvg_internals/src/length.rs b/rsvg_internals/src/length.rs
index 6adc75f4..8e373150 100644
--- a/rsvg_internals/src/length.rs
+++ b/rsvg_internals/src/length.rs
@@ -11,7 +11,7 @@ pub type RsvgLength = Length;
 
 // Keep this in sync with rsvg.h:RsvgUnit
 
-/// Units for length values
+/// Units for length values.
 #[repr(C)]
 #[derive(Debug, PartialEq, Copy, Clone)]
 pub enum LengthUnit {
diff --git a/rsvg_internals/src/lib.rs b/rsvg_internals/src/lib.rs
index 2a83abf0..5dec7d59 100644
--- a/rsvg_internals/src/lib.rs
+++ b/rsvg_internals/src/lib.rs
@@ -30,6 +30,7 @@
 //! * [The `property_defs` module](property_defs/index.html) contains one type for each of
 //! the CSS style properties that librsvg supports.
 //!
+//! [`Document`]: document/struct.Document.html
 //! [`RsvgNode`]: node/type.RsvgNode.html
 //! [`NodeTrait`]: node/trait.NodeTrait.html
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]