diff --git a/sdk/program/src/log.rs b/sdk/program/src/log.rs index 132a102c0e..7b2e82cf86 100644 --- a/sdk/program/src/log.rs +++ b/sdk/program/src/log.rs @@ -97,7 +97,7 @@ pub fn sol_log_params(accounts: &[AccountInfo], data: &[u8]) { sol_log_slice(data); } -/// Logs the current compute unit consumption +/// Logs the remaining compute units the program may consume #[inline] pub fn sol_log_compute_units() { #[cfg(target_arch = "bpf")]