Skip to content

remove bind thread #151

remove bind thread

remove bind thread #151

GitHub Actions / clippy failed Jul 25, 2024 in 0s

clippy

1 error

Details

Results

Message level Amount
Internal compiler error 0
Error 1
Warning 0
Note 0
Help 0

Versions

  • rustc 1.82.0-nightly (c1a6199e9 2024-07-24)
  • cargo 1.82.0-nightly (5f6b9a922 2024-07-19)
  • clippy 0.1.81 (c1a6199 2024-07-24)

Annotations

Check failure on line 130 in src/helpers/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unsafe function's docs are missing a `# Safety` section

error: unsafe function's docs are missing a `# Safety` section
   --> src/helpers/mod.rs:126:1
    |
126 | / pub unsafe fn alloc_on_stream<T>(
127 | |     device: &Arc<CudaDevice>,
128 | |     len: usize,
129 | |     stream: &CudaStream,
130 | | ) -> CudaSlice<T> {
    | |_________________^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
    = note: `-D clippy::missing-safety-doc` implied by `-D warnings`
    = help: to override `-D warnings` add `#[allow(clippy::missing_safety_doc)]`