From 9c825d497c322dfc00b51b47307b0806b94f189a Mon Sep 17 00:00:00 2001 From: xshady <54737754+xxshady@users.noreply.github.com> Date: Mon, 26 Feb 2024 03:35:01 +0300 Subject: [PATCH] =?UTF-8?q?=E2=9A=A1=20fix=20example=20usage=20in=20readme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b8f74fd..ebb55b2 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,7 @@ use injrs::inject_windows::*; fn main() { let name = "Calc.exe"; let dll = "./my-demo-dll.dll"; - let p = Process::find_first_by_name(name).unwrap(); + let process = Process::find_first_by_name(name).unwrap(); print!("inject dll to process => "); match process.inject(dll) { @@ -88,4 +88,4 @@ fn main() { } ``` -for more detail you can check [src/main.rs](./src/main.rs). \ No newline at end of file +for more detail you can check [src/main.rs](./src/main.rs).