rustfmt pass
This commit is contained in:
@@ -18,5 +18,8 @@ fn main() -> Result<(), Box<error::Error>> {
|
||||
|
||||
#[cfg(not(feature = "toml"))]
|
||||
fn main() {
|
||||
println!("examples require the `toml` feature, run this command for this example:\n\ncargo run --example follow_profile --features toml\n");
|
||||
println!(
|
||||
"examples require the `toml` feature, run this command for this example:\n\ncargo run \
|
||||
--example follow_profile --features toml\n"
|
||||
);
|
||||
}
|
||||
|
||||
@@ -17,5 +17,8 @@ fn main() -> Result<(), Box<error::Error>> {
|
||||
|
||||
#[cfg(not(feature = "toml"))]
|
||||
fn main() {
|
||||
println!("examples require the `toml` feature, run this command for this example:\n\ncargo run --example print_your_profile --features toml\n");
|
||||
println!(
|
||||
"examples require the `toml` feature, run this command for this example:\n\ncargo run \
|
||||
--example print_your_profile --features toml\n"
|
||||
);
|
||||
}
|
||||
|
||||
@@ -66,4 +66,4 @@ pub fn read_line(message: &str) -> Result<String, Box<Error>> {
|
||||
}
|
||||
|
||||
#[cfg(not(feature = "toml"))]
|
||||
fn main() { }
|
||||
fn main() {}
|
||||
|
||||
+4
-1
@@ -18,5 +18,8 @@ fn main() -> Result<(), Box<error::Error>> {
|
||||
|
||||
#[cfg(not(feature = "toml"))]
|
||||
fn main() {
|
||||
println!("examples require the `toml` feature, run this command for this example:\n\ncargo run --example search --features toml\n");
|
||||
println!(
|
||||
"examples require the `toml` feature, run this command for this example:\n\ncargo run \
|
||||
--example search --features toml\n"
|
||||
);
|
||||
}
|
||||
|
||||
@@ -17,5 +17,8 @@ fn main() -> Result<(), Box<error::Error>> {
|
||||
|
||||
#[cfg(not(feature = "toml"))]
|
||||
fn main() {
|
||||
println!("examples require the `toml` feature, run this command for this example:\n\ncargo run --example upload_photo --features toml\n");
|
||||
println!(
|
||||
"examples require the `toml` feature, run this command for this example:\n\ncargo run \
|
||||
--example upload_photo --features toml\n"
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user