Xiaobo Liu

Results 33 issues of Xiaobo Liu

I want to generate corresponding Rust macro definitions from C language macro definitions, input C header as follow: ```c // test.h enum { FRAME_TYPE, FRAME_TYPEP, FRAME_LUA }; #define frame_type(f) ((f)...

Replace manual string concatenation with format! macro for IPv6 host formatting in Uri::fmt implementation for better readability and performance.

Remove `Cow::Borrowed` wrapper when comparing transport key in query parameters, as direct string comparison is more readable and equally efficient.

Replace hardcoded port numbers 3478 and 5349 with DEFAULT_PORT and DEFAULT_TLS_PORT constants from the stun module to improve code readability and maintainability. - Add import for stun::{DEFAULT_PORT, DEFAULT_TLS_PORT} - Replace...

Closes https://github.com/zed-industries/zed/issues/26643 Release Notes: - Fixed keep lines that start with # in the commit message

cla-signed
community champion

- Add missing newline at end of file - Clean up trailing whitespace - Standardize spacing in documentation

documentation
Accepted

Fixed https://github.com/aya-rs/aya/issues/1087 - - - This change is [](https://reviewable.io/reviews/aya-rs/aya/1326)

test
aya-bpf

Open the usb gadget serialport, get an error occurs. The source code is as follows: ```rust use serialport::{DataBits, Parity, StopBits}; use std::io::Read; use std::io::{self, Write}; use std::time::Duration; fn main() {...