pub fn new_start(start: Marker) -> Self {
        Self {
            start: Some(start),
            end: None,
        }
    }
/// Create a span with only start information
///
/// Sometimes when creating a span we know where it started but not where
/// it ends.  This might be during parsing, or for some other reason.
///
/// ```
/// # use marked_yaml::{Marker, Span};
/// let span = Span::new_start(Marker::new(0, 1, 2));
/// # assert_eq!(span.start().unwrap(), &Marker::new(0, 1, 2));
/// # assert_eq!(span.end(), None);
/// ```
Create a span with only start information
Sometimes when creating a span we know where it started but not where
it ends.  This might be during parsing, or for some other reason.


Create a span with only start information Sometimes when creating a span we know where it started but not where it ends . This might be during parsing or for some other reason .
pub fn new_start(start: Marker) -> Self {
        Self {
            start: Some(start),
            end: None,
        }
    }
pub fn new_start ( start : Marker ) -> Self { Self { start : Some ( start ) , end : None , } }
Create a span with only start information
Sometimes when creating a span we know where it started but not where
it ends.
Create a span with only start information Sometimes when creating a span we know where it started but not where it ends .
start
Marker
start
Marker
use marked_yaml::{marker, span};
None
assert_eq!(span.start().unwrap(), &marker::new(0, 1, 2));
None
assert_eq!(span.end(), none);
None