File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ impl FromStr for Profile {
30
30
fn from_str ( s : & str ) -> Result < Self , Self :: Err > {
31
31
match s {
32
32
"a" | "lib" | "library" => Ok ( Profile :: Library ) ,
33
- "b" | "compiler" => Ok ( Profile :: Compiler ) ,
33
+ "b" | "compiler" | "rustdoc" => Ok ( Profile :: Compiler ) ,
34
34
"c" | "llvm" | "codegen" => Ok ( Profile :: Codegen ) ,
35
35
"d" | "maintainer" | "user" => Ok ( Profile :: User ) ,
36
36
_ => Err ( format ! ( "unknown profile: '{}'" , s) ) ,
@@ -107,7 +107,7 @@ pub fn interactive_path() -> io::Result<Profile> {
107
107
println ! (
108
108
"Welcome to the Rust project! What do you want to do with x.py?
109
109
a) Contribute to the standard library
110
- b) Contribute to the compiler
110
+ b) Contribute to the compiler or rustdoc
111
111
c) Contribute to the compiler, and also modify LLVM or codegen
112
112
d) Install Rust from source"
113
113
) ;
You can’t perform that action at this time.
0 commit comments