mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-16 11:50:42 +08:00
radicle: rename resolved to is_resolved
The standard in the codebase for boolean methods is to prefix them with `is_`. Change `resolved` to `is_resolved`. Signed-off-by: Fintan Halpenny <fintan.halpenny@gmail.com> X-Clacks-Overhead: GNU Terry Pratchett
This commit is contained in:
committed by
cloudhead
parent
87077d5155
commit
67e46952b6
@@ -213,7 +213,7 @@ fn issue_comment(id: &CommentId, comment: &Comment, aliases: &impl AliasStore) -
|
||||
).collect::<Vec<_>>(),
|
||||
"timestamp": comment.timestamp().as_secs(),
|
||||
"replyTo": comment.reply_to(),
|
||||
"resolved": comment.resolved(),
|
||||
"resolved": comment.is_resolved(),
|
||||
})
|
||||
}
|
||||
|
||||
@@ -235,7 +235,7 @@ fn patch_comment(
|
||||
"timestamp": comment.timestamp().as_secs(),
|
||||
"replyTo": comment.reply_to(),
|
||||
"location": comment.location(),
|
||||
"resolved": comment.resolved(),
|
||||
"resolved": comment.is_resolved(),
|
||||
})
|
||||
}
|
||||
|
||||
@@ -257,7 +257,7 @@ fn review_comment(
|
||||
"timestamp": comment.timestamp().as_secs(),
|
||||
"replyTo": comment.reply_to(),
|
||||
"location": comment.location(),
|
||||
"resolved": comment.resolved(),
|
||||
"resolved": comment.is_resolved(),
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user