Skip to content

Commit be7d529

Browse files
Fix markdown not rendering in docs
1 parent d3e6909 commit be7d529

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

src/lib.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,10 @@
2525
//! ```
2626
//!
2727
//! <div class="warning">
28+
//!
2829
//! **Warning:** `x` is expected to be strictly increasing, but this is not explicitly enforced.
2930
//! However, if `x` is non-increasing, interpolation results are meaningless.
31+
//!
3032
//! </div>
3133
3234
#![warn(missing_docs)]
@@ -176,8 +178,10 @@ where
176178
/// ```
177179
///
178180
/// <div class="warning">
181+
///
179182
/// **Warning:** `x` is expected to be strictly increasing, but this is not explicitly enforced.
180183
/// However, if `x` is non-increasing, interpolation results are meaningless.
184+
///
181185
/// </div>
182186
pub fn interp<T>(x: &[T], y: &[T], xp: T, mode: &InterpMode<T>) -> T
183187
where
@@ -248,8 +252,10 @@ where
248252
/// ```
249253
///
250254
/// <div class="warning">
255+
///
251256
/// **Warning:** `x` is expected to be strictly increasing, but this is not explicitly enforced.
252257
/// However, if `x` is non-increasing, interpolation results are meaningless.
258+
///
253259
/// </div>
254260
pub fn interp_slice<T>(x: &[T], y: &[T], xp: &[T], mode: &InterpMode<T>) -> Vec<T>
255261
where
@@ -321,8 +327,10 @@ where
321327
/// ```
322328
///
323329
/// <div class="warning">
330+
///
324331
/// **Warning:** `x` is expected to be strictly increasing, but this is not explicitly enforced.
325332
/// However, if `x` is non-increasing, interpolation results are meaningless.
333+
///
326334
/// </div>
327335
pub fn interp_array<T, const N: usize>(
328336
x: &[T],

0 commit comments

Comments
 (0)