chore/action: documentation and some clippy warnings
@@ -43,6 +43,9 @@ pub fn iter_with_line_column<'a>(
}
/// Extract `span` from a `Read`-able source as `String`
+///
+/// # Errors
+/// Returns an Error if `span` describes a impossible range
pub fn load_span_from<R>(mut source: R, span: Span) -> Result<String>
where
R: Read,
