@@ -5,7 +5,7 @@ use crate::{Error, Stream};
55
66/// Representation of a path segment.
77///
8- /// If you want to change the segment type (for example MoveTo to LineTo)
8+ /// If you want to change the segment type (for example ` MoveTo` to ` LineTo` )
99/// you should create a new segment.
1010/// But you still can change points or make segment relative or absolute.
1111#[ allow( missing_docs) ]
@@ -81,8 +81,8 @@ pub enum PathSegment {
8181/// # Notes
8282///
8383/// The library does not support implicit commands, so they will be converted to an explicit one.
84- /// It mostly affects an implicit MoveTo, which will be converted, according to the spec,
85- /// into explicit LineTo.
84+ /// It mostly affects an implicit ` MoveTo` , which will be converted, according to the spec,
85+ /// into an explicit ` LineTo` .
8686///
8787/// Example: `M 10 20 30 40 50 60` -> `M 10 20 L 30 40 L 50 60`
8888///
@@ -610,12 +610,12 @@ pub enum SimplePathSegment {
610610/// A more high-level Path Data parser on top of [`PathParser`] that provides:
611611///
612612/// - Relative to absolute segment coordinates conversion
613- /// - ArcTo to CurveTos conversion
614- /// - SmoothCurveTo and SmoothQuadratic conversion
615- /// - HorizontalLineTo and VerticalLineTo to LineTo conversion
616- /// - Implicit MoveTo after ClosePath handling
613+ /// - ` ArcTo` to `CurveTo`s conversion
614+ /// - ` SmoothCurveTo` and ` SmoothQuadratic` conversion
615+ /// - ` HorizontalLineTo` and ` VerticalLineTo` to ` LineTo` conversion
616+ /// - Implicit ` MoveTo` after ` ClosePath` handling
617617///
618- /// In the end, only absolute MoveTo, LineTo, CurveTo, Quadratic and ClosePath segments
618+ /// In the end, only absolute ` MoveTo`, ` LineTo`, ` CurveTo`, ` Quadratic` and ` ClosePath` segments
619619/// will be produced.
620620#[ derive( Clone , Debug ) ]
621621pub struct SimplifyingPathParser < ' a > {
0 commit comments