Skip to content

Commit 0d0f95d

Browse files
authored
Merge pull request #326 from oli-obk/push-knrtoqznrkxt
Fix panic due to manually created span
2 parents 677f520 + c020b2d commit 0d0f95d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/rust-project-goals-cli/src/updates.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ fn help_wanted(
232232
fn why_this_goal(issue_id: &IssueId, issue: &ExistingGithubIssue) -> anyhow::Result<String> {
233233
let span = Span {
234234
file: issue_id.url().into(),
235-
bytes: 0..0,
235+
bytes: 0..issue.body.len(),
236236
};
237237
let sections = markwaydown::parse_text(Spanned::new(&issue.body, span))?;
238238
for section in sections {

0 commit comments

Comments
 (0)