Skip to content

Commit 655c8d6

Browse files
committed
Fix broken English in Spanned documentation.
1 parent 9aae5b4 commit 655c8d6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/events/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,13 @@ use crate::reader::Span;
5353
use crate::utils::write_cow_string;
5454
use attributes::{Attribute, Attributes};
5555

56-
/// A trait for get a span information
56+
/// A trait for acquiring the start and end locations of a parsing event in an input
5757
#[cfg(feature = "span")]
5858
pub trait Spanned {
59-
/// Returns a span that type is occupied in the input
59+
/// Returns a span over the location of a parsing event
6060
fn span(&self) -> Span;
6161

62-
/// Sets the span of this holder to a given value
62+
/// Sets the span of this parsing event to a given value
6363
fn with_span(self, span: Span) -> Self;
6464
}
6565

0 commit comments

Comments
 (0)