translated patch.c to rust
translated patch.c to rust

riginding/dora,dinfuehr/dora,riginding/dora,riginding/dora,dinfuehr/dora,riginding/dora,dinfuehr/dora,riginding/dora,dinfuehr/dora,riginding/dora,dinfuehr/dora,riginding/dora,dinfuehr/dora