Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tom@soyuz:~/Downloads/space$ cargo build
- Compiling space v0.1.0 (file:///home/tom/Downloads/space)
- error[E0308]: mismatched types
- --> src/engines.rs:16:22
- |
- 16 | stream.write(c);
- | ^ expected &[u8], found enum `ship::_IMPL_DESERIALIZE_FOR_Ship::_serde::export::Option`
- |
- = note: expected type `&[u8]`
- found type `ship::_IMPL_DESERIALIZE_FOR_Ship::_serde::export::Option<ship::_IMPL_DESERIALIZE_FOR_Ship::_serde::export::Result<u8, std::io::Error>>`
- = help: here are some functions which might fulfill your needs:
- - .map_or(...)
- - .map_or_else(...)
- error: aborting due to previous error
- error: Could not compile `space`.
- To learn more, run the command again with --verbose.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement