fix build
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 3s

This commit is contained in:
2026-01-21 03:31:57 +09:00
parent 06c2374d5d
commit fabbde8f52

View File

@@ -270,7 +270,6 @@ pub fn c_bot(c: &Context) {
let dd = "\n".to_owned() + &d.to_string(); let dd = "\n".to_owned() + &d.to_string();
let text_limit = c_char(dd); let text_limit = c_char(dd);
if text_limit.len() > 3 { if text_limit.len() > 3 {
handlev = d.lines().collect::<Vec<_>>()[0].to_string();
link = "https://syui.ai/@".to_owned() + handle; link = "https://syui.ai/@".to_owned() + handle;
e = link.chars().count(); e = link.chars().count();
let str_rep = reply_link::post_request( let str_rep = reply_link::post_request(
@@ -305,7 +304,6 @@ pub fn c_bot(c: &Context) {
let dd = "\n".to_owned() + &d.to_string(); let dd = "\n".to_owned() + &d.to_string();
let text_limit = c_char(dd); let text_limit = c_char(dd);
if text_limit.len() > 3 { if text_limit.len() > 3 {
handlev = d.lines().collect::<Vec<_>>()[0].to_string();
link = "https://syui.ai/@".to_owned() + handle; link = "https://syui.ai/@".to_owned() + handle;
e = link.chars().count(); e = link.chars().count();
let str_rep = reply_link::post_request( let str_rep = reply_link::post_request(
@@ -369,7 +367,6 @@ pub fn c_bot(c: &Context) {
let d = String::from_utf8_lossy(&output.stdout); let d = String::from_utf8_lossy(&output.stdout);
let dd = "\n".to_owned() + &d.to_string(); let dd = "\n".to_owned() + &d.to_string();
let text_limit = c_char(dd); let text_limit = c_char(dd);
handlev = d.lines().collect::<Vec<_>>()[0].to_string();
let ten_l = d.lines().collect::<Vec<_>>().len(); let ten_l = d.lines().collect::<Vec<_>>().len();
println!("handlev {}", handlev); println!("handlev {}", handlev);
println!("ten_l {}", ten_l); println!("ten_l {}", ten_l);
@@ -411,7 +408,6 @@ pub fn c_bot(c: &Context) {
let d = String::from_utf8_lossy(&output.stdout); let d = String::from_utf8_lossy(&output.stdout);
let dd = "\n".to_owned() + &d.to_string(); let dd = "\n".to_owned() + &d.to_string();
let text_limit = c_char(dd); let text_limit = c_char(dd);
handlev = d.lines().collect::<Vec<_>>()[0].to_string();
link = "https://syui.ai/@".to_owned() + handle; link = "https://syui.ai/@".to_owned() + handle;
println!("{}", e); println!("{}", e);
e = link.chars().count(); e = link.chars().count();
@@ -447,7 +443,6 @@ pub fn c_bot(c: &Context) {
let d = String::from_utf8_lossy(&output.stdout); let d = String::from_utf8_lossy(&output.stdout);
let dd = "\n".to_owned() + &d.to_string(); let dd = "\n".to_owned() + &d.to_string();
let text_limit = c_char(dd); let text_limit = c_char(dd);
handlev = d.lines().collect::<Vec<_>>()[0].to_string();
link = "https://syui.ai/@".to_owned() + handle; link = "https://syui.ai/@".to_owned() + handle;
println!("{}", e); println!("{}", e);
e = link.chars().count(); e = link.chars().count();
@@ -483,7 +478,6 @@ pub fn c_bot(c: &Context) {
let d = String::from_utf8_lossy(&output.stdout); let d = String::from_utf8_lossy(&output.stdout);
let dd = "\n".to_owned() + &d.to_string(); let dd = "\n".to_owned() + &d.to_string();
let text_limit = c_char(dd); let text_limit = c_char(dd);
handlev = d.lines().collect::<Vec<_>>()[0].to_string();
link = "https://syui.ai/@".to_owned() + handle; link = "https://syui.ai/@".to_owned() + handle;
println!("{}", e); println!("{}", e);
e = link.chars().count(); e = link.chars().count();
@@ -923,7 +917,6 @@ pub fn c_bot_feed(c: &Context) {
let dd = "\n".to_owned() + &d.to_string(); let dd = "\n".to_owned() + &d.to_string();
let text_limit = c_char(dd); let text_limit = c_char(dd);
if text_limit.len() > 3 { if text_limit.len() > 3 {
handlev = d.lines().collect::<Vec<_>>()[0].to_string();
link = "https://syui.ai/@".to_owned() + handle; link = "https://syui.ai/@".to_owned() + handle;
e = link.chars().count(); e = link.chars().count();
let str_rep = reply_link::post_request( let str_rep = reply_link::post_request(
@@ -958,7 +951,6 @@ pub fn c_bot_feed(c: &Context) {
let dd = "\n".to_owned() + &d.to_string(); let dd = "\n".to_owned() + &d.to_string();
let text_limit = c_char(dd); let text_limit = c_char(dd);
if text_limit.len() > 3 { if text_limit.len() > 3 {
handlev = d.lines().collect::<Vec<_>>()[0].to_string();
link = "https://syui.ai/@".to_owned() + handle; link = "https://syui.ai/@".to_owned() + handle;
e = link.chars().count(); e = link.chars().count();
let str_rep = reply_link::post_request( let str_rep = reply_link::post_request(
@@ -1022,7 +1014,6 @@ pub fn c_bot_feed(c: &Context) {
let d = String::from_utf8_lossy(&output.stdout); let d = String::from_utf8_lossy(&output.stdout);
let dd = "\n".to_owned() + &d.to_string(); let dd = "\n".to_owned() + &d.to_string();
let text_limit = c_char(dd); let text_limit = c_char(dd);
handlev = d.lines().collect::<Vec<_>>()[0].to_string();
let ten_l = d.lines().collect::<Vec<_>>().len(); let ten_l = d.lines().collect::<Vec<_>>().len();
println!("handlev {}", handlev); println!("handlev {}", handlev);
println!("ten_l {}", ten_l); println!("ten_l {}", ten_l);
@@ -1064,7 +1055,6 @@ pub fn c_bot_feed(c: &Context) {
let d = String::from_utf8_lossy(&output.stdout); let d = String::from_utf8_lossy(&output.stdout);
let dd = "\n".to_owned() + &d.to_string(); let dd = "\n".to_owned() + &d.to_string();
let text_limit = c_char(dd); let text_limit = c_char(dd);
handlev = d.lines().collect::<Vec<_>>()[0].to_string();
link = "https://syui.ai/@".to_owned() + handle; link = "https://syui.ai/@".to_owned() + handle;
println!("{}", e); println!("{}", e);
e = link.chars().count(); e = link.chars().count();