Skip to content

Commit eb5441b

Browse files
committed
unused var
1 parent b76e6b3 commit eb5441b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ mod tests {
3535
///
3636
/// ```
3737
#[cfg(target_os = "linux")]
38-
pub fn write_to_device(printer: &str, payload: &str, document_name: Option<&str>) -> Result<usize, std::io::Error> {
38+
pub fn write_to_device(printer: &str, payload: &str, _document_name: Option<&str>) -> Result<usize, std::io::Error> {
3939
use std::fs::OpenOptions;
4040
use std::io::Write;
4141

0 commit comments

Comments
 (0)