Skip to content

Commit

Permalink
Small comment cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Dherse committed Dec 9, 2023
1 parent 976ebef commit e0a83ba
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ pub fn register_cache(fun: fn(usize)) {
}

/// Generate a new accelerator.
///
/// Will allocate a new accelerator if the ID is larger than the current
/// capacity.
/// Will allocate a new accelerator if the ID is larger than the current capacity.
pub fn id() -> usize {
// Get the next ID.
ID.fetch_add(1, Ordering::AcqRel)
Expand Down

0 comments on commit e0a83ba

Please sign in to comment.