Update Rust toolchain and raise recursion limit (#10303)

This commit is contained in:
Jasper
2026-07-07 15:41:04 -07:00
committed by GitHub
parent 1bced6616b
commit 651dc973c8
20 changed files with 656 additions and 691 deletions
+2 -2
View File
@@ -36,7 +36,7 @@ pub fn handle_project_default() -> Result<()> {
}
// Sort projects by last_accessed (newest first)
projects.sort_by(|a, b| b.last_accessed.cmp(&a.last_accessed));
projects.sort_by_key(|project| std::cmp::Reverse(project.last_accessed));
// Get the most recent project
let project = &projects[0];
@@ -178,7 +178,7 @@ pub fn handle_projects_interactive() -> Result<()> {
}
// Sort projects by last_accessed (newest first)
projects.sort_by(|a, b| b.last_accessed.cmp(&a.last_accessed));
projects.sort_by_key(|project| std::cmp::Reverse(project.last_accessed));
// Format project paths for display
let project_choices: Vec<(String, String)> = projects
+2
View File
@@ -1,3 +1,5 @@
#![recursion_limit = "256"]
#[cfg(not(any(feature = "rustls-tls", feature = "native-tls")))]
compile_error!("At least one of `rustls-tls` or `native-tls` features must be enabled");
+2
View File
@@ -1,3 +1,5 @@
#![recursion_limit = "256"]
use anyhow::Result;
use goose_cli::cli::cli;
+2 -2
View File
@@ -37,8 +37,8 @@ impl GooseCompleter {
// Create completion candidates that match the prefix
let candidates: Vec<Pair> = cache
.prompts
.iter()
.flat_map(|(_, names)| names)
.values()
.flatten()
.filter(|name| name.starts_with(prefix.trim()))
.map(|name| Pair {
display: name.clone(),
@@ -524,10 +524,8 @@ impl MarkdownBuffer {
}
}
"]" => {}
")" => {
if state.in_link_url {
state.in_link_url = false;
}
")" if state.in_link_url => {
state.in_link_url = false;
}
_ => {}
}