Skip to content

Commit

Permalink
Chore: "Cargo doc" removed this warning.
Browse files Browse the repository at this point in the history
```
warning: unclosed HTML tag `u8`
  --> plotters-bitmap/src/bitmap.rs:94:95
   |
94 |     /// When this is used, the bitmap backend will write to a user provided [u8] array (or Vec<u8>)
   |                                                                                               ^^^^
   |
   = note: `#[warn(rustdoc::invalid_html_tags)]` on by default
help: try marking as source code
   |
94 |     /// When this is used, the bitmap backend will write to a user provided [u8] array (or `Vec<u8>`)
```
  • Loading branch information
martinfrances107 committed Oct 17, 2023
1 parent 7c1f8ec commit 5dfc316
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plotters-bitmap/src/bitmap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ impl<'a> BitMapBackend<'a, RGBPixel> {

/// Create a new bitmap backend which only lives in-memory
///
/// When this is used, the bitmap backend will write to a user provided [u8] array (or Vec<u8>)
/// When this is used, the bitmap backend will write to a user provided [u8] array (or `Vec<u8>`)
/// in RGB pixel format.
///
/// Note: This function provides backward compatibility for those code that assumes Plotters
Expand Down

0 comments on commit 5dfc316

Please sign in to comment.