Skip to content

Commit

Permalink
Fix Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanielsimard committed Aug 20, 2024
1 parent 23f0d33 commit e158a93
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions crates/cubecl-core/src/frontend/branch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ use super::comptime::Comptime;
use super::ExpandElementTyped;

/// UInt range. Equivalent to:
/// ```no_run
///
/// ```ignore
/// for i in start..end { ... }
/// ```
pub fn range<S, E>(start: S, end: E, _unroll: Comptime<bool>) -> impl Iterator<Item = UInt>
Expand All @@ -22,7 +23,8 @@ where
}

/// Stepped range. Equivalent to:
/// ```no_run
///
/// ```ignore
/// for i in (start..end).step_by(step) { ... }
/// ```
pub fn range_stepped<S, E, Step>(
Expand Down
2 changes: 1 addition & 1 deletion crates/cubecl-wgpu/src/device.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
///
/// # Example
///
/// ```no_run
/// ```ignore
/// use cubecl_wgpu::WgpuDevice;
///
/// let device_gpu_1 = WgpuDevice::DiscreteGpu(0); // First discrete GPU found.
Expand Down

0 comments on commit e158a93

Please sign in to comment.