Skip to content

Commit

Permalink
5.3.0: raw::which_format_avail
Browse files Browse the repository at this point in the history
  • Loading branch information
DoumanAsh committed Mar 5, 2024
1 parent 91cd86c commit 0af6058
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "clipboard-win"
version = "5.2.0"
version = "5.3.0"
authors = ["Douman <[email protected]>"]
description = "Provides simple way to interact with Windows clipboard."
license = "BSL-1.0"
Expand Down
2 changes: 1 addition & 1 deletion src/raw.rs
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ pub fn is_format_avail(format: c_uint) -> bool {
}

#[inline(always)]
///Returns the first available format in the specified list
///Returns the first available format in the specified list.
///
///Returns `None` if no format is available or clipboard is empty
pub fn which_format_avail(formats: &[c_uint]) -> Option<NonZeroU32> {
Expand Down

0 comments on commit 0af6058

Please sign in to comment.