diff options
author | 2022-07-09 18:42:41 +0200 | |
---|---|---|
committer | 2022-07-09 18:43:05 +0200 | |
commit | 2065a40f642589134142a740ff4198deaa4c378b (patch) | |
tree | 00477d6d7cb571332062535557151d5b031d8925 /graphics/src/window | |
parent | d53cc5498b92fb6b573867f5ccb5f8ac93f6be79 (diff) | |
download | iced-2065a40f642589134142a740ff4198deaa4c378b.tar.gz iced-2065a40f642589134142a740ff4198deaa4c378b.tar.bz2 iced-2065a40f642589134142a740ff4198deaa4c378b.zip |
Fix `clippy` lints for all crates and features
... and check those in CI as well!
Diffstat (limited to 'graphics/src/window')
-rw-r--r-- | graphics/src/window/gl_compositor.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/graphics/src/window/gl_compositor.rs b/graphics/src/window/gl_compositor.rs index 4ff17366..722e4d9c 100644 --- a/graphics/src/window/gl_compositor.rs +++ b/graphics/src/window/gl_compositor.rs @@ -35,6 +35,9 @@ pub trait GLCompositor: Sized { /// Creates a new [`GLCompositor`] and [`Renderer`] with the given /// [`Settings`] and an OpenGL address loader function. /// + /// # Safety + /// The `loader_function` should resolve to valid OpenGL bindings. + /// /// [`Renderer`]: crate::Renderer /// [`Backend`]: crate::Backend /// [`Settings`]: Self::Settings |