Skip to content

Commit

Permalink
Optimization 💥
Browse files Browse the repository at this point in the history
	modified:   Cargo.lock
	modified:   Cargo.toml
	modified:   README.md
	modified:   src/lib.rs
  • Loading branch information
NiiightmareXD committed Oct 31, 2023
1 parent 82c1aa2 commit ae20ea6
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "windows-capture"
version = "1.0.21"
version = "1.0.22"
authors = ["NiiightmareXD"]
edition = "2021"
description = "Simple Windows Screen Capture Library For Rust And Python 🔥"
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Add this library to your `Cargo.toml`:

```toml
[dependencies]
windows-capture = "1.0.21"
windows-capture = "1.0.22"
```
or run this command

Expand Down Expand Up @@ -44,7 +44,7 @@ impl WindowsCaptureHandler for Capture {
Self {}
}

fn on_frame_arrived(&mut self, frame: Frame) {
fn on_frame_arrived(&mut self, mut frame: Frame) {
// Called Every Time A New Frame Is Available
println!("Got A New Frame");

Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
//!
//! ```toml
//! [dependencies]
//! windows-capture = "1.0.21"
//! windows-capture = "1.0.22"
//! ```
//! or run this command
//!
Expand Down Expand Up @@ -51,7 +51,7 @@
//! Self {}
//! }
//!
//! fn on_frame_arrived(&mut self, frame: Frame) {
//! fn on_frame_arrived(&mut self, mut frame: Frame) {
//! // Called Every Time A New Frame Is Available
//! println!("Got A New Frame");
//!
Expand Down

0 comments on commit ae20ea6

Please sign in to comment.