fixed inline example

This commit is contained in:
Andres
2017-05-02 07:30:18 +02:00
committed by Cobrand
parent a00a85ec38
commit 144c10084f
+3 -1
View File
@@ -276,7 +276,9 @@ impl<'r, 't, TC: TextureOwner> RenderTarget for TextureTarget<'r, 't, TC> {
/// # Examples
///
/// ```rust,no_run
/// # use sdl2::window::Window;
/// # use sdl2::render::Canvas;
/// # use sdl2::video::Window;
/// # use sdl2::pixels::Color;
/// # use sdl2::rect::Rect;
/// # let sdl_context = sdl2::init().unwrap();
/// # let video_subsystem = sdl_context.video().unwrap();