]> git.proxmox.com Git - rustc.git/blobdiff - src/tools/clippy/clippy_lints/src/large_include_file.rs
New upstream version 1.63.0+dfsg1
[rustc.git] / src / tools / clippy / clippy_lints / src / large_include_file.rs
index 8bef13c682dbfe86c92da5ba743fcc1af6efa975..84dd61a1e4b0d6cb219ca9acdf933667fcab632a 100644 (file)
@@ -22,10 +22,11 @@ declare_clippy_lint! {
     /// let included_bytes = include_bytes!("very_large_file.txt");
     /// ```
     ///
-    /// Instead, you can load the file at runtime:
+    /// Use instead:
     /// ```rust,ignore
     /// use std::fs;
     ///
+    /// // You can load the file at runtime
     /// let string = fs::read_to_string("very_large_file.txt")?;
     /// let bytes = fs::read("very_large_file.txt")?;
     /// ```