]> git.lizzy.rs Git - rust.git/blobdiff - library/core/src/iter/mod.rs
Auto merge of #88343 - steffahn:fix_code_spacing, r=jyn514
[rust.git] / library / core / src / iter / mod.rs
index d6f9edaa046c69e5922678b94d67a68f52373fe8..39c0b1b522c11fbe79fc33b296387a3de135b525 100644 (file)
@@ -39,7 +39,7 @@
 //! ```
 //!
 //! An iterator has a method, [`next`], which when called, returns an
-//! [`Option`]`<Item>`. [`next`] will return [`Some(Item)`] as long as there
+//! <code>[Option]\<Item></code>. Calling [`next`] will return [`Some(Item)`] as long as there
 //! are elements, and once they've all been exhausted, will return `None` to
 //! indicate that iteration is finished. Individual iterators may choose to
 //! resume iteration, and so calling [`next`] again may or may not eventually