File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 2
2
3
3
use std:: os:: raw:: c_char;
4
4
5
- #[ cfg( doc) ]
6
- use ash:: extensions:: khr;
7
5
use ash:: {
8
6
extensions:: {
9
7
ext:: metal_surface,
@@ -25,9 +23,9 @@ use raw_window_handle::{RawDisplayHandle, RawWindowHandle};
25
23
///
26
24
/// There is a [parent/child relation] between [`Instance`] and [`Entry`], and the resulting
27
25
/// [`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
29
27
/// [`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()].
31
29
///
32
30
/// See the [`Entry::create_instance()`] documentation for more destruction ordering rules on
33
31
/// [`Instance`].
You can’t perform that action at this time.
0 commit comments