Fix typo: patter → pattern (#3890)

This commit is contained in:
Waldir Pimenta 2021-08-04 00:48:23 +01:00 committed by GitHub
parent bc682066d8
commit 325f45fa66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,7 @@ impl WholeStreamCommand for DataFrame {
} }
fn usage(&self) -> &str { fn usage(&self) -> &str {
"[Series] Checks if a patter is contained in a string" "[Series] Checks if a pattern is contained in a string"
} }
fn signature(&self) -> Signature { fn signature(&self) -> Signature {
@ -33,7 +33,7 @@ impl WholeStreamCommand for DataFrame {
fn examples(&self) -> Vec<Example> { fn examples(&self) -> Vec<Example> {
vec![Example { vec![Example {
description: "Returns boolean indicating if patter was found", description: "Returns boolean indicating if pattern was found",
example: "[abc acb acb] | dataframe to-df | dataframe contains ab", example: "[abc acb acb] | dataframe to-df | dataframe contains ab",
result: Some(vec![NuDataFrame::try_from_columns( result: Some(vec![NuDataFrame::try_from_columns(
vec![Column::new( vec![Column::new(