From 50e406b5c8d4ab34db12233bc0cf970235675951 Mon Sep 17 00:00:00 2001 From: Yoshifumi Kawai <46207+neuecc@users.noreply.github.com> Date: Tue, 28 Feb 2023 18:45:31 +0900 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3f438d6..e3302d5 100644 --- a/README.md +++ b/README.md @@ -268,7 +268,7 @@ public static unsafe partial class NativeMethods Rust to C# is similar workflow as C to C#, use the `input_extern_file` -> setup options -> `generate_csharp_file`. -```csharp +```rust csbindgen::Builder::default() .input_extern_file("src/lib.rs") .csharp_class_name("LibRust") @@ -281,4 +281,4 @@ csbindgen::Builder::default() License --- -This library is licensed under the MIT License. \ No newline at end of file +This library is licensed under the MIT License.