Remove functional noop

This commit is contained in:
Jeremy A. Kolb 2018-10-06 13:41:33 -04:00
parent 828bd73195
commit ff1b2da502
1 changed files with 0 additions and 8 deletions

View File

@ -350,14 +350,6 @@ mod tests {
fn do_check_local_name(code: &str, expected_offset: u32) {
let (off, code) = extract_offset(code);
let code = {
let mut buf = String::new();
let off = u32::from(off) as usize;
buf.push_str(&code[..off]);
buf.push_str(&code[off..]);
buf
};
let file = File::parse(&code);
let fn_def: ast::FnDef = find_node_at_offset(file.syntax(), off).unwrap();
let name_ref: ast::NameRef = find_node_at_offset(file.syntax(), off).unwrap();