]> git.lizzy.rs Git - rust.git/commitdiff
Fix stray typo
authorRémy Rakic <remy.rakic@gmail.com>
Sat, 26 Jan 2019 20:39:47 +0000 (21:39 +0100)
committerRémy Rakic <remy.rakic@gmail.com>
Sun, 27 Jan 2019 09:52:45 +0000 (10:52 +0100)
src/librustc/infer/error_reporting/nice_region_error/placeholder_error.rs

index 21d6c562e4dc9f614cc65502fc2a34402861b7e9..98458796ef4d63a2877b256fd8522f71c077640d 100644 (file)
@@ -13,7 +13,7 @@
 
 impl NiceRegionError<'me, 'gcx, 'tcx> {
     /// When given a `ConcreteFailure` for a function with arguments containing a named region and
-    /// an anonymous region, emit an descriptive diagnostic error.
+    /// an anonymous region, emit a descriptive diagnostic error.
     pub(super) fn try_report_placeholder_conflict(&self) -> Option<ErrorReported> {
         match &self.error {
             ///////////////////////////////////////////////////////////////////////////