Skip to content

Commit 18be44f

Browse files
authored
Fix CI (#326)
CI was failing with an error related to include! that it was not doing before. This looks like a regression on someone else's part to be honest. I'm not sure what we can do apart from changing the edition or just skipping these tests, which is what I've done here.
1 parent c434e1b commit 18be44f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ fn main() {
3939
The crate does all of its reading through the `read_from` function of the [`ResourceReader`](https://docs.rs/tiled/latest/tiled/trait.ResourceReader.html) that you create the loader with. By default, this reader is set to [`FilesystemResourceReader`](https://docs.rs/tiled/latest/tiled/struct.FilesystemResourceReader.html) and all files are read through the OS's filesystem. You can however change this.
4040

4141
Here's an example mostly taken from `Loader::with_reader`'s documentation:
42-
```rust
42+
```rust,ignore
4343
use tiled::{DefaultResourceCache, Loader};
4444
4545
let mut loader = Loader::with_reader(
@@ -74,7 +74,7 @@ tiled = { version = ".....", features = ["wasm"] }
7474
- Second, since you cannot use the filesystem as normally on the web, you cannot use `FilesystemResourceReader`. As such,
7575
you'll need to implement your own `ResourceReader`. This is a pretty simple task, as you just need to return anything
7676
that is `Read`able when given a path, e.g.:
77-
```rust
77+
```rust,ignore
7878
use std::io::Cursor;
7979
8080
struct MyReader;

0 commit comments

Comments
 (0)