Skip to content

Commit 4d612d6

Browse files
committed
Adapt to Library changes
1 parent 68d7a9d commit 4d612d6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • crates/ark/src/lsp/completions/sources/unique

crates/ark/src/lsp/completions/sources/unique/comment.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ fn inject_roxygen_comment_after_newline(x: &str) -> String {
142142
fn test_comment() {
143143
use tree_sitter::Point;
144144

145-
let library = Library::new(vec![], None);
145+
let library = Library::new(vec![]);
146146

147147
// If not in a comment, return `None`
148148
let point = Point { row: 0, column: 1 };
@@ -201,7 +201,7 @@ fn test_roxygen_comment() {
201201
Namespace::default(),
202202
);
203203

204-
let library = Library::new(vec![], None);
204+
let library = Library::new(vec![]);
205205
let library = library.insert("roxygen2", package);
206206

207207
let point = Point { row: 0, column: 4 };

0 commit comments

Comments
 (0)