]> git.lizzy.rs Git - rust.git/blobdiff - library/core/src/iter/adapters/fuse.rs
Capitalize safety comments
[rust.git] / library / core / src / iter / adapters / fuse.rs
index 4185453ac5ae331adb51becd0a7ef98a75cda2f7..409f202780ba6db876a94f3c3412c5181245f624 100644 (file)
@@ -530,7 +530,7 @@ unsafe impl<S: Iterator, I: FusedIterator> SourceIter for Fuse<I>
     #[inline]
     unsafe fn as_inner(&mut self) -> &mut S {
         match self.iter {
-            // Safety: unsafe function forwarding to unsafe function with the same requirements
+            // SAFETY: unsafe function forwarding to unsafe function with the same requirements
             Some(ref mut iter) => unsafe { SourceIter::as_inner(iter) },
             // SAFETY: the specialized iterator never sets `None`
             None => unsafe { intrinsics::unreachable() },