Skip to content

Commit

Permalink
feat: change deps
Browse files Browse the repository at this point in the history
  • Loading branch information
jincheng.zhang committed Mar 29, 2024
1 parent 057e9b6 commit bb5f96d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 3 additions & 1 deletion crates/egui_code_editor/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,9 @@ impl CodeEditor {
.take(c.primary.ccursor.index)
.collect();

let after_cursor_text: String = text.as_str().chars().skip(c.primary.ccursor.index).collect();
let mut after_cursor_text: String = text.as_str().chars().skip(c.primary.ccursor.index).collect();
after_cursor_text = after_cursor_text.replace("\n"," ")
.replace("\t"," ").replace(";"," ");
if !after_cursor_text.starts_with(" ")&&!after_cursor_text.is_empty(){
ui.memory_mut(|mem| {
if mem.is_popup_open(self._popup_id) {
Expand Down
6 changes: 5 additions & 1 deletion crates/netpurr_test_runner/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,11 @@ struct Args {
}

fn main() {
let args = Args::parse();
//let args = Args::parse();
let args=Args{
workspace_name: "aiproject".to_string(),
collection_name: "百炼".to_string(),
};
let client = Client::builder()
.trust_dns(true)
.tcp_nodelay(true)
Expand Down

0 comments on commit bb5f96d

Please sign in to comment.