Skip to content

Commit e7c5902

Browse files
committed
chore: add expect reasons
Signed-off-by: Roman Volosatovs <rvolosatovs@riseup.net>
1 parent b10b706 commit e7c5902

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

crates/wasi-http/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ pub mod types;
230230
pub mod bindings;
231231

232232
#[cfg(feature = "p3")]
233-
#[expect(missing_docs)] // TODO: add docs
233+
#[expect(missing_docs, reason = "work in progress")] // TODO: add docs
234234
pub mod p3;
235235

236236
pub use crate::error::{

crates/wasi-http/src/p3/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
1111
pub mod bindings;
1212
mod conv;
13-
#[expect(unused)] // TODO: implement
13+
#[expect(unused, reason = "work in progress")] // TODO: implement
1414
mod host;
1515

1616
use bindings::http::{handler, types};

crates/wasi-http/tests/all/p3/incoming.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use wasmtime_wasi_http::p3::bindings::http::types::ErrorCode;
88

99
use super::Ctx;
1010

11-
#[expect(unused)] // TODO: implement
11+
#[expect(unused, reason = "unimplemented")] // TODO: implement
1212
pub async fn run_wasi_http<E: Into<ErrorCode> + 'static>(
1313
component_filename: &str,
1414
req: http::Request<impl Body<Data = Bytes, Error = E> + Send + Sync + 'static>,

0 commit comments

Comments
 (0)