[librsvg] Fix spelling mistakes in comments



commit 6e619dd10504e83b5e84f5f2163a6084e6ad68ed
Author: Ivan Molodetskikh <yalterz gmail com>
Date:   Fri Aug 10 15:52:10 2018 +0300

    Fix spelling mistakes in comments

 rsvg_internals/src/surface_utils/shared_surface.rs | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/rsvg_internals/src/surface_utils/shared_surface.rs 
b/rsvg_internals/src/surface_utils/shared_surface.rs
index 6471a78f..b28dc0ce 100644
--- a/rsvg_internals/src/surface_utils/shared_surface.rs
+++ b/rsvg_internals/src/surface_utils/shared_surface.rs
@@ -481,8 +481,8 @@ impl SharedImageSurface {
                 /// Creates a new `UnsafeSendPixelData`.
                 ///
                 /// # Safety
-                /// You must call cairo_surface_mark_dirty() on the surface once all instances of
-                /// `UnsafeSendPixelData` are dropped to make sure the pixel changes are comitted
+                /// You must call `cairo_surface_mark_dirty()` on the surface once all instances of
+                /// `UnsafeSendPixelData` are dropped to make sure the pixel changes are committed
                 /// to Cairo.
                 #[inline]
                 unsafe fn new(surface: &mut cairo::ImageSurface) -> Self {
@@ -518,7 +518,7 @@ impl SharedImageSurface {
 
                 /// Splits this `UnsafeSendPixelData` into two at the given row.
                 ///
-                /// The first one contains rows `0..index` (index not included) and the second one
+                /// The first one contains rows `0..index` (`index` not included) and the second one
                 /// contains rows `index..height`.
                 #[inline]
                 fn split_at_row(self, index: u32) -> (Self, Self) {
@@ -546,7 +546,7 @@ impl SharedImageSurface {
 
                 /// Splits this `UnsafeSendPixelData` into two at the given column.
                 ///
-                /// The first one contains columns `0..index` (index not included) and the second
+                /// The first one contains columns `0..index` (`index` not included) and the second
                 /// one contains columns `index..width`.
                 #[inline]
                 fn split_at_column(self, index: u32) -> (Self, Self) {


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