diff options
author | Andrew Clayton <a.clayton@nginx.com> | 2023-09-05 15:26:37 +0100 |
---|---|---|
committer | Andrew Clayton <a.clayton@nginx.com> | 2023-09-05 15:26:37 +0100 |
commit | 6764e6e8ac3f1223536c35d7daef0755df144643 (patch) | |
tree | 009d04dc5f5541d9befe06ce4e806f184e7dd457 /src | |
parent | d81bc9290edc8d1eb59ced024499359ccd4da77a (diff) | |
download | unit-wasm-6764e6e8ac3f1223536c35d7daef0755df144643.tar.gz unit-wasm-6764e6e8ac3f1223536c35d7daef0755df144643.tar.bz2 |
examples/rust: Slightly simplify hello-world
There is no need in this case to declare REQUEST_BUF as a global
variable. Declaring it local to uwr_request_handler() lets us get rid of
the unsafe code blocks.
Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions