mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 14:21:44 +00:00
Grand refactoring
This commit is contained in:
parent
2007ccfcfe
commit
8abf536343
14 changed files with 591 additions and 484 deletions
|
@ -1,8 +1,8 @@
|
|||
use libsyntax2::{File, TextUnit};
|
||||
pub use _test_utils::*;
|
||||
use ActionResult;
|
||||
use LocalEdit;
|
||||
|
||||
pub fn check_action<F: Fn(&File, TextUnit) -> Option<ActionResult>> (
|
||||
pub fn check_action<F: Fn(&File, TextUnit) -> Option<LocalEdit>> (
|
||||
before: &str,
|
||||
after: &str,
|
||||
f: F,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue