Skip to content

Commit e4756cb

Browse files
7526: Rename crate assists to ide_assists.
1 parent 8687053 commit e4756cb

File tree

73 files changed

+26
-26
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+26
-26
lines changed

Cargo.lock

Lines changed: 18 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/ide/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ ide_db = { path = "../ide_db", version = "0.0.0" }
2727
cfg = { path = "../cfg", version = "0.0.0" }
2828
profile = { path = "../profile", version = "0.0.0" }
2929
test_utils = { path = "../test_utils", version = "0.0.0" }
30-
assists = { path = "../assists", version = "0.0.0" }
30+
ide_assists = { path = "../ide_assists", version = "0.0.0" }
3131
ssr = { path = "../ssr", version = "0.0.0" }
3232
ide_completion = { path = "../ide_completion", version = "0.0.0" }
3333

crates/ide/src/fn_references.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
//! This module implements a methods and free functions search in the specified file.
22
//! We have to skip tests, so cannot reuse file_structure module.
33
4-
use assists::utils::test_related_attribute;
54
use hir::Semantics;
5+
use ide_assists::utils::test_related_attribute;
66
use ide_db::RootDatabase;
77
use syntax::{ast, ast::NameOwner, AstNode, SyntaxNode};
88

crates/ide/src/join_lines.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use assists::utils::extract_trivial_expression;
1+
use ide_assists::utils::extract_trivial_expression;
22
use itertools::Itertools;
33
use syntax::{
44
algo::non_trivia_sibling,

crates/ide/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ pub use crate::{
8282
HlRange,
8383
},
8484
};
85-
pub use assists::{Assist, AssistConfig, AssistId, AssistKind};
8685
pub use hir::{Documentation, Semantics};
86+
pub use ide_assists::{Assist, AssistConfig, AssistId, AssistKind};
8787
pub use ide_completion::{
8888
CompletionConfig, CompletionItem, CompletionItemKind, CompletionScore, ImportEdit,
8989
InsertTextFormat,

crates/ide/src/runnables.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
use std::fmt;
22

3-
use assists::utils::test_related_attribute;
43
use cfg::CfgExpr;
54
use hir::{AsAssocItem, HasAttrs, HasSource, Semantics};
5+
use ide_assists::utils::test_related_attribute;
66
use ide_db::{defs::Definition, RootDatabase, SymbolKind};
77
use itertools::Itertools;
88
use syntax::{

crates/assists/Cargo.toml renamed to crates/ide_assists/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "assists"
2+
name = "ide_assists"
33
version = "0.0.0"
44
description = "TBD"
55
license = "MIT OR Apache-2.0"

0 commit comments

Comments
 (0)