Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
You need to sign in or sign up before continuing.
  • linux
  • rust
  • kernel
  • workqueue.rs
Find file BlameHistoryPermalink
  • Nell Shamrell-Harrington's avatar
    rust: remove unneeded `kernel::prelude` imports from doctests · 4a2ae880
    Nell Shamrell-Harrington authored Apr 11, 2024
    
    
    Rust doctests implicitly include `kernel::prelude::*`.
    
    Removes explicit `kernel::prelude` imports from doctests.
    
    Suggested-by: default avatarMiguel Ojeda <ojeda@kernel.org>
    Link: https://github.com/Rust-for-Linux/linux/issues/1064
    
    
    Signed-off-by: default avatarNell Shamrell-Harrington <nells@linux.microsoft.com>
    Reviewed-by: default avatarBenno Lossin <benno.lossin@proton.me>
    Link: https://lore.kernel.org/r/20240411225331.274662-1-nells@linux.microsoft.com
    
    
    [ Add it back for `module_phy_driver`'s example since it is within a `mod`,
      and thus it cannot be removed. - Miguel ]
    Signed-off-by: default avatarMiguel Ojeda <ojeda@kernel.org>
    4a2ae880
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7