Closed kper closed 5 years ago
Works thanks :)
While the r# syntax does work, that doesn't really seem like a solution
What do you suggest instead?
Migration to new hyper 0.12 may be a rather breaking change, so it may be a good point to rename async
to something else.
While the r# syntax does work, that doesn't really seem like a solution
Depending on acceptance of usage of r#raw r#identifier syntax for things other than compatibility.
let fk = 0.5;
let fm = 0.1;
let r#fn = (fk + fm)/2.0;
let Fn = 1.0 / r#fn;
let micro = 0.02;
let r#macro = 200;
let price_per_unit = 500;
let r#yield = 10;
let storage_cost=20;
If such identifiers are not treated as "second class citizens", it may make sense to expose then in some new APIs (if naming precision advantage offsets the cost of r#
).
The
async-server
example cannot compile with editon 2018 because it hasasync
in path.Code:
use websocket::async::Server;
Error: