diff --git a/src/librustc/infer/README.md b/src/librustc/infer/README.md index e7daff3e2c3..7f58d039060 100644 --- a/src/librustc/infer/README.md +++ b/src/librustc/infer/README.md @@ -141,7 +141,7 @@ will make the permanent. Snapshots can be nested as long as you follow a stack-like discipline. Rather than use snapshots directly, it is often helpful to use the -methods like `commit_if_ok` or `probe` that encapsulte higher-level +methods like `commit_if_ok` or `probe` that encapsulate higher-level patterns. ## Subtyping obligations