Skip to content

Commit

Permalink
Fix missing panics doc
Browse files Browse the repository at this point in the history
  • Loading branch information
nanoqsh committed Oct 2, 2023
1 parent b43cba7 commit 2dc5c56
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dunge/src/canvas.rs
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,9 @@ pub(crate) mod window {
use super::*;

/// Creates a canvas in the window with given initial state.
///
/// # Panics
/// Panics if window creation fails.
pub fn make_window(state: InitialState) -> Canvas {
use winit::{dpi::PhysicalSize, window::Fullscreen};

Expand Down

0 comments on commit 2dc5c56

Please sign in to comment.