Skip to content

Commit

Permalink
improve docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle Carow authored and Kyle Carow committed Nov 2, 2023
1 parent 98bcc4d commit fbfcb34
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions rust/fastsim-core/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,11 @@ lazy_static! {

/// Calculate tire radius (in meters) from an [ISO metric tire code](https://en.wikipedia.org/wiki/Tire_code#ISO_metric_tire_codes)
///
/// **Example 1:**
/// # Arguments
/// * `tire_code` - A string containing a parsable ISO metric tire code
///
/// # Examples
/// ## Example 1:
///
/// ```rust
/// // Note the floating point imprecision in the result
Expand All @@ -313,7 +317,7 @@ lazy_static! {
/// assert_eq!(tire_code_to_radius(&tire_code).unwrap(), 0.40514999999999995);
/// ```
///
/// **Example 2:**
/// ## Example 2:
///
/// ```rust
/// // Either `&str`, `&String`, or `String` can be passed
Expand Down

0 comments on commit fbfcb34

Please sign in to comment.