Rise Chen

Results 28 comments of Rise Chen

```rust #[repr(align(4))] pub struct Test { a: u8, b: u16, } ``` Does this struct have paddings bytes?

I think `Atomic` can be converted to `AtomicU32`

![image](https://user-images.githubusercontent.com/12853908/149744504-fceca354-5647-4d33-9a47-c72e8a54d557.png) `transmute` don't require alignment, how about replace `transmute_copy` by `transmute`?

应该是使用cookies或者storage记录登录状态

I think it should auto implement `Debug` for both `dyn ConnectionDriver + Send` and `dyn ConnectionDriver + !Send`.

`impl Foo for dyn Bar + Send {}` have a High priority. `impl Foo for dyn Bar {}` have a Low priority. And, `dyn Bar + !Send` auto impl Foo...

I think it is a similar problem. ```rust #[async_trait(?Send)] pub trait ListenerDriver { async fn accept(&mut self) -> Result; } #[async_trait] impl ListenerDriver for Server { async fn accept(&mut self)...

It is named by [embedded-hal](https://docs.rs/embedded-hal/0.2.4/embedded_hal/blocking/rng/index.html)

finish