Skip to content

Commit b06c835

Browse files
committed
fixup! fixup! generator: Separate Fn struct
1 parent 03ad1f4 commit b06c835

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

ash-window/src/lib.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
use std::os::raw::c_char;
44

5-
#[cfg(doc)]
6-
use ash::extensions::khr;
75
use ash::{
86
extensions::{
97
ext::metal_surface,
@@ -25,9 +23,9 @@ use raw_window_handle::{RawDisplayHandle, RawWindowHandle};
2523
///
2624
/// There is a [parent/child relation] between [`Instance`] and [`Entry`], and the resulting
2725
/// [`vk::SurfaceKHR`]. The application must not [destroy][Instance::destroy_instance()] these
28-
/// parent objects before first [destroying][khr::surface::Instance::destroy_surface()] the returned
26+
/// parent objects before first [destroying][surface::Instance::destroy_surface()] the returned
2927
/// [`vk::SurfaceKHR`] child object. [`vk::SurfaceKHR`] does _not_ implement [drop][drop()]
30-
/// semantics and can only be destroyed via [`destroy_surface()`][khr::surface::Instance::destroy_surface()].
28+
/// semantics and can only be destroyed via [`destroy_surface()`][surface::Instance::destroy_surface()].
3129
///
3230
/// See the [`Entry::create_instance()`] documentation for more destruction ordering rules on
3331
/// [`Instance`].

0 commit comments

Comments
 (0)