Xiaobo Liu
Xiaobo Liu
supports optional configuration of `rustfmt` --edition version.
go mod vendor 后,编译出错,提示无法找到 webp.h 文件 ```shell # cat /etc/redhat-release CentOS Linux release 7.9.2009 (Core) # go version go version go1.15.5 linux/amd64 # go build # github.com/chai2010/webp vendor/github.com/chai2010/webp/capi.go:24:18: fatal error:...
Signed-off-by: Xiaobo Liu
Signed-off-by: Xiaobo Liu
The `tokio_modbus::Request` has `TryFrom` function, how to convert from Request to Bytes? just like `impl into for tokio_modbus::Request`.
Rust example code: ```rust use chrono::{Utc, Local}; fn main() { println!("{}", Local::now()); println!("{}", Utc::now()); } ``` On ubuntu output: ``` 2023-06-06 11:37:45.784123237 +08:00 2023-06-06 03:37:45.784374037 UTC ``` On openwrt output:...
If operations on `clock_watchdog` all use SeqCst, then use `SeqCst` consistently.
The `Sender::send` does not have to use the mut statement.
Reproduced rust source code. main.rs ```rust use anyhow::Result; use xlsxwriter::{ DataValidation, DataValidationCriteria, DataValidationErrorType, DataValidationType, Workbook, }; fn main() -> Result { let workbook = Workbook::new("./simple1.xlsx")?; let mut sheet1 = workbook.add_worksheet(None)?;...