We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 49f7a63 + 47b3d84 commit f2ec18aCopy full SHA for f2ec18a
2 files changed
Cargo.toml
@@ -6,5 +6,6 @@ edition = "2018"
6
7
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
8
9
-[dependencies]
10
-plotters-backend = "^0.0.*"
+[dependencies.plotters-backend]
+git = "https://github.com/plotters-rs/plotters-backend"
11
+# version = "0.3.1"
src/lib.rs
@@ -106,8 +106,8 @@ impl DrawingBackend for TextDrawingBackend {
106
&mut self,
107
mut upper_left: (i32, i32),
108
mut bottom_right: (i32, i32),
109
- style: &S,
110
- fill: bool,
+ _style: &S,
+ _fill: bool,
111
) -> Result<(), DrawingErrorKind<Self::ErrorType>> {
112
upper_left.0 = upper_left.0.max(0).min(self.size.0 as i32);
113
upper_left.1 = upper_left.1.max(0).min(self.size.1 as i32);
0 commit comments