Skip to content

Commit

Permalink
reword docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jdhoffa committed Jan 10, 2025
1 parent 7c8845c commit db2c589
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions R/000-wrappers.R
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ NULL
stop(class, " cannot be modified", call. = FALSE)
}

#' Calculate the sum of a vector of numbers using multiple threads.
#' Calculate the sum of a vector of real numbers using multiple threads.
#'
#' @param x A vector of numbers to sum over.
#' @param x A vector of real numbers to sum over.
#' @param n The number of threads used to compute this calculation (int).
#'
#' @return The sum of all elements of the input vector.
Expand Down
4 changes: 2 additions & 2 deletions src/rust/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
use savvy::{savvy, RealSexp};
use std::thread;

/// Calculate the sum of a vector of numbers using multiple threads.
/// Calculate the sum of a vector of real numbers using multiple threads.
///
/// @param x A vector of numbers to sum over.
/// @param x A vector of real numbers to sum over.
/// @param n The number of threads used to compute this calculation (int).
///
/// @return The sum of all elements of the input vector.
Expand Down

0 comments on commit db2c589

Please sign in to comment.