Comments (3)
Hi @Shadorain Thanks for the heads up!
It seems that you have an older version of Rust installed, as of Rust 1.57.0
, .as_slice
is no longer an unstable feature (https://doc.rust-lang.org/std/primitive.array.html#method.as_slice).
You can update to the latest version of Rust with rustup update
.
Alternatively, if you don't want to update, you can use &buffer[..read_count]
Sylvain
✌️
from kerkour.com.
Apologies for that! Just switched back to my desktop which I haven't used since been away at school and never updated Rust!
Thanks for the help there, didn't mean to bother!
from kerkour.com.
No worries, Happy end of the year :)
from kerkour.com.
Related Issues (15)
- Do not use `sqlx` for "high performance" sqlite insert benchmark HOT 1
- Beaglebone and host HOT 3
- Unable to resolve multiple types in email sending example HOT 2
- Scans beyond TCP connect HOT 1
- `cross` for cross-compiling Rust HOT 1
- rust_fast_port_scanner returns all ports HOT 6
- Error: Decrypting large file: aead::Error routine HOT 5
- Question about the key and nonce used in 2021/rust_file_encryption HOT 2
- Logic in streaming decryption isn't quite right HOT 1
- Question about environmental variables HOT 2
- Bad assumption on read() results HOT 5
- {minor} website typo HOT 1
- Blog post suggestion: Using the same/master password for file encryption/decryption
- Registry Expiry Date: 2030-04-16T17:02:18Z
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kerkour.com.