We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e9e040 commit e905857Copy full SHA for e905857
src/bootstrap/setup.rs
@@ -140,7 +140,6 @@ pub fn interactive_path() -> io::Result<Profile> {
140
input.parse()
141
}
142
143
- let mut input = String::new();
144
println!("Welcome to the Rust project! What do you want to do with x.py?");
145
for (letter, profile) in abbrev_all() {
146
println!("{}) {}: {}", letter, profile, profile.purpose());
@@ -151,6 +150,7 @@ pub fn interactive_path() -> io::Result<Profile> {
151
150
abbrev_all().map(|(l, _)| l).collect::<Vec<_>>().join("/")
152
);
153
io::stdout().flush()?;
+ let mut input = String::new();
154
io::stdin().read_line(&mut input)?;
155
break match parse_with_abbrev(&input) {
156
Ok(profile) => profile,
0 commit comments