about summary refs log tree commit diff
path: root/src/liballoc/vec.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-03-08 05:27:21 +0000
committerbors <bors@rust-lang.org>2020-03-08 05:27:21 +0000
commitf943349eafaa75a60c05b0c84dcdb771d0eae8c9 (patch)
tree9e2d6e08dc1aff13d98144034e7db7080e6eb872 /src/liballoc/vec.rs
parent823ff8cf1397a5772b1f6954b60576202bf91836 (diff)
parent8ee7278fca2cb137c81c8a12ca46c5df1838c2f3 (diff)
downloadrust-f943349eafaa75a60c05b0c84dcdb771d0eae8c9.tar.gz
rust-f943349eafaa75a60c05b0c84dcdb771d0eae8c9.zip
Auto merge of #69804 - Centril:rollup-u86dc1g, r=Centril
Rollup of 8 pull requests

Successful merges:

 - #69667 (Remove the `no_debug` feature)
 - #69687 (resolve, inconsistent binding mode: tweak wording)
 - #69708 (On mismatched delimiters, only point at empty blocks that are in the same line)
 - #69765 (reduce test size for Miri)
 - #69773 (fix various typos)
 - #69787 (mir::Local is Copy we can pass it by value in these cases)
 - #69794 (Add `Layout::dangling()` to return a well-aligned `NonNull<u8>`)
 - #69797 (Correct version that relaxed orphan rules)

Failed merges:

r? @ghost
Diffstat (limited to 'src/liballoc/vec.rs')
-rw-r--r--src/liballoc/vec.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/vec.rs b/src/liballoc/vec.rs
index 7523d9c5ba3..61416f2b906 100644
--- a/src/liballoc/vec.rs
+++ b/src/liballoc/vec.rs
@@ -2894,7 +2894,7 @@ where
     /// The filter test predicate.
     pred: F,
     /// A flag that indicates a panic has occurred in the filter test prodicate.
-    /// This is used as a hint in the drop implmentation to prevent consumption
+    /// This is used as a hint in the drop implementation to prevent consumption
     /// of the remainder of the `DrainFilter`. Any unprocessed items will be
     /// backshifted in the `vec`, but no further items will be dropped or
     /// tested by the filter predicate.