Skip to content

Commit f5dc4c1

Browse files
committed
chore: update clippy command to error on warnings
1 parent 63f6333 commit f5dc4c1

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Makefile.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ args = ["fmt", "--all", "--", "--check"]
88

99
[tasks.clippy]
1010
command = "cargo"
11-
args = ["clippy", "--workspace", "--all-targets", "--all-features"]
11+
args = ["clippy", "--workspace", "--all-targets", "--", "-D", "warnings"]
1212

1313
[tasks.test]
1414
install_crate = "nextest"

crates/rust-mcp-transport/src/utils/readable_channel.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ impl AsyncRead for ReadableChannel {
2626
///
2727
/// # Returns
2828
/// * `Poll<tokio::io::Result<()>>` - Ready with Ok if data is read, Ready with Err if the channel is closed, or Pending if no data is available
29-
3029
fn poll_read(
3130
mut self: Pin<&mut Self>,
3231
cx: &mut Context<'_>,

0 commit comments

Comments
 (0)