Skip to content

Commit

Permalink
The failing doctest appears to be a not-easily-fixed false positive
Browse files Browse the repository at this point in the history
  • Loading branch information
sporkmonger committed Nov 22, 2023
1 parent 6e6a363 commit 097eb04
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion crates/wasm-sdk-macros/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -174,10 +174,12 @@ pub fn bulwark_plugin(_: TokenStream, input: TokenStream) -> TokenStream {

let output = quote! {
mod handlers {
use super::#struct_type;

wit_bindgen::generate!({
world: "bulwark:plugin/handlers",
exports: {
world: crate::#struct_type
world: #struct_type
}
});
}
Expand Down
4 changes: 2 additions & 2 deletions crates/wasm-sdk/src/host_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -530,10 +530,10 @@ pub fn check_rate_limit(key: &str) -> Result<Rate, crate::RemoteStateError> {
///
/// # Examples
///
/// ```no_run
/// ```ignore
/// use bulwark_wasm_sdk::*;
///
/// pub struct CircuitBreaker;
/// struct CircuitBreaker;
///
/// #[bulwark_plugin]
/// impl Handlers for CircuitBreaker {
Expand Down

0 comments on commit 097eb04

Please sign in to comment.