Skip to content

Commit

Permalink
build(src): add deprecated warning to UsersCache::with_all_users
Browse files Browse the repository at this point in the history
Signed-off-by: Sandro-Alessio Gierens <sandro@gierens.de>
  • Loading branch information
gierens committed Nov 1, 2023
1 parent 139a411 commit f373229
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ impl UsersCache {
/// # See also
///
/// [`UsersSnapshot::new`]
#[deprecated(since = "0.11.4", note = "consider using `UsersSnapshot::new` instead")]
pub unsafe fn with_all_users() -> Self {
let cache = Self::new();

Expand Down

0 comments on commit f373229

Please sign in to comment.