Skip to content

Commit

Permalink
Fix doc-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
emilk committed Jan 16, 2024
1 parent 9e6b6ae commit 84f351d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion crates/eframe/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ web_screen_reader = [
## If you're targeting the web, you also need to turn on the
## `webgl` and/or `webgpu` features of the `wgpu` crate.
## If you turn on both, eframe will prefer WebGPU and fall back on WebGL:
## ```
##
## ```ignore
## wgpu = { version = "*", features = ["webgpu", "webgl"] }
## ```
wgpu = ["dep:wgpu", "dep:egui-wgpu", "dep:pollster", "dep:raw-window-handle"]
Expand Down
3 changes: 2 additions & 1 deletion crates/egui-wgpu/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
//!
//! If you're targeting the web, you also need to turn on the
//! `webgl` and/or `webgpu` features of the `wgpu` crate.
//! ```
//!
//! ```ignore
//! # Enable both WebGL and WebGPU backends on web.
//! # egui-wgpu will prefer WebGPU and fall back on WebGL.
//! wgpu = { version = "*", features = ["webgpu", "webgl"] }
Expand Down

0 comments on commit 84f351d

Please sign in to comment.