Skip to content

Commit 2143d89

Browse files
Jeremy Braunfacebook-github-bot
Jeremy Braun
authored andcommitted
fix typo
Summary: per title Reviewed By: JakobDegen Differential Revision: D69204099 fbshipit-source-id: f66e893cd26fa7a32c43a248db26d289aedccc0b
1 parent 291905b commit 2143d89

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

starlark/src/tests/uncategorized.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ def loop():
172172
if len(xs) == 3:
173173
xs.append(4)
174174
loop()"#,
175-
"mutate an iterable",
175+
"mutates an iterable",
176176
);
177177
}
178178

@@ -272,7 +272,7 @@ def foo():
272272
break
273273
foo()
274274
"#,
275-
"mutate an iterable",
275+
"mutates an iterable",
276276
);
277277
assert::fail(
278278
r#"

starlark/src/values/error.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ pub enum ValueError {
5454
KeyNotFound(String),
5555
#[error("Immutable")]
5656
CannotMutateImmutableValue,
57-
#[error("This operation mutate an iterable for an iterator while iterating.")]
57+
#[error("This operation mutates an iterable for an iterator while iterating.")]
5858
MutationDuringIteration,
5959
#[error("Object of type `{0}` has no attribute `{1}`")]
6060
NoAttr(String, String),

0 commit comments

Comments
 (0)