tangled
alpha
login
or
join now
bad-example.com
/
hacktober-bot
6
fork
atom
announcing good-first-issue tags added on @tangled.sh (not affiliated with tangled!)
6
fork
atom
overview
issues
1
pulls
pipelines
fix up formatting (again)
bad-example.com
5 months ago
f565f2e0
1841bda5
+6
-4
1 changed file
expand all
collapse all
unified
split
src
main.rs
+6
-4
src/main.rs
···
223
223
}: &IssueDetails,
224
224
) -> Result<()> {
225
225
let message = format!(
226
226
-
r#"good-first-issue added for {repo_full_name}:
226
226
+
r#"New from {repo_full_name}:
227
227
228
228
> {title}"#
229
229
);
230
230
+
231
231
+
let pre_len = 9;
230
232
231
233
let repo_feature = serde_json::json!({
232
234
"$type": "app.bsky.richtext.facet#link",
···
235
237
let repo_facet = Facet {
236
238
features: vec![Data::from_json(&repo_feature)?],
237
239
index: ByteSlice {
238
238
-
byte_start: 27,
239
239
-
byte_end: 29 + repo_full_name.len() as i64,
240
240
+
byte_start: pre_len,
241
241
+
byte_end: pre_len + repo_full_name.len() as i64,
240
242
extra_data: Default::default(),
241
243
},
242
244
extra_data: Default::default(),
243
245
};
244
246
245
245
-
let title_starts_at = (29 + repo_full_name.len() + 5) as i64;
247
247
+
let title_starts_at = pre_len + (repo_full_name.len() + 5) as i64;
246
248
247
249
let repo_issues_feature = serde_json::json!({
248
250
"$type": "app.bsky.richtext.facet#link",