In response to Linus Torvalds' remark that the example driver included with the patch set implementing Rust support for the Linux kernel is useless and does not address real problems, a version of the PL061 GPIO driver rewritten in Rust has been proposed. The feature of this driver is that its implementation closely mirrors the existing GPIO driver written in C, line by line. For developers interested in learning how to create drivers in Rust, a line-by-line comparison has been prepared to illustrate how C code has been transformed into Rust constructs.
Source: opennet.ru