Skip to content

Commit

Permalink
exclude the rust blocks from the play pen
Browse files Browse the repository at this point in the history
  • Loading branch information
mattwparas committed Dec 24, 2023
1 parent 9e3baec commit b709e0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/dylibs/example.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ For the purposes of this example, we'll create a module that wraps the `MemInfo`
the information there. Since we'll be implementing traits that are defined inside the `steel` crate, we'll
need to create a struct to wrap the `sys_info::MemInfo` struct:

```rust
```rust,noplaypen
struct MemoryInfo {
info: sys_info::MemInfo,
}
Expand Down Expand Up @@ -86,7 +86,7 @@ impl MemoryInfo {

Now that we've done that, we can expose this to steel by implementing the `Custom` type for the struct, and declaring an `FFIModule`:

```rust
```rust,noplaypen
// Using ABI Stable types is very important
use steel::{
declare_module,
Expand Down

0 comments on commit b709e0d

Please sign in to comment.