Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Tips and Traps¶
- The macro
include!
can be used to inline the conent of file as long as the resulted Rust code is valid! It can be extremely flexible, however, the included file is placed in the surrounding code unhygienically. It is suggested that you limited the use ofinclude!
Map a Function to Multiple Columns in Polars in Rust
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Rust Error "error: expected item, found 'let'"
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
The error message "error: expected item, found 'let'" is commonly encountered in Rust
when you mistakenly place a let
statement in an invalid location.
A let
statement can only be used …
Cargo Build Script Add Wings to Cargo Build
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
-
build.rs
is located in the root directory of the project. -
build.rs
can be used to directly generate a module or generate some Rust code to be included in another …
GitHub Apps and Bot Accounts
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
GitHub Bot Account
A GitHub bot account is just a personal GitHub account used as automation purpose.