Skip to content

Commit

Permalink
Prevent rustdoc from testing a non-Rust formula
Browse files Browse the repository at this point in the history
  • Loading branch information
ruuda committed Aug 25, 2024
1 parent a2201ef commit e702fb9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/playcount.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,9 @@ impl ExpCounter {
/// For exponential decay of the form `0.5^(t / half_life)`, the integral
/// from `t=0` to `t=t_1` is given by
///
/// half_life / ln(2) * [1 - 0.5^(t_1 / half_life)]
/// ```txt
/// half_life / ln(2) * [1 - 0.5^(t_1 / half_life)]
/// ```
///
/// and if we plug in ∞ for `t_1` then we see the scale factors are just
/// proportional to the half lives, so we can divide by that. (We care only
Expand Down

0 comments on commit e702fb9

Please sign in to comment.