fix description of build-string's second example (#6912)

This commit is contained in:
Andrey Filipenkov 2022-10-26 17:36:31 +03:00 committed by GitHub
parent 13f87857cf
commit 902aad6016
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,7 +40,7 @@ impl Command for BuildString {
}, },
Example { Example {
example: r#"build-string $"(1 + 2)" = one ' ' plus ' ' two"#, example: r#"build-string $"(1 + 2)" = one ' ' plus ' ' two"#,
description: "Builds a string from letters a b c", description: "Builds a string from subexpression separating words with spaces",
result: Some(Value::String { result: Some(Value::String {
val: "3=one plus two".to_string(), val: "3=one plus two".to_string(),
span: Span::test_data(), span: Span::test_data(),