Skip to content

Assist: group imports #2220

@matklad

Description

@matklad
use std::fs; // <- cursor is on this line
use std::io::prelude::*;
use std::io::BufReader;
use std::path::Path;

->

use std::{
    fs,
    io::prelude::*,
    io::BufReader,
    path::Path,
};

A similar, but simpler assist is split import

Metadata

Metadata

Assignees

No one assigned

    Labels

    E-has-instructionsIssue has some instructions and pointers to code to get startedE-medium

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions