fixrs 0.1.6

Blazing-fast CLI to replace Rust qualified paths with use statements, auto-fixing clippy::absolute_paths
Documentation
1
2
3
4
5
6
7
8
9
10
11
name: non_crate_path
description: 已导入的局部模块名不是 extern crate 时,不误当做绝对长路径改写
options:
  extra_crates: []
input: |
  use std::io;

  pub fn run() {
      let err = io::Error::new(io::ErrorKind::Other, "test");
  }
expected: null