docs(web): fix reference to OffscreenCanvas (#187)
This commit is contained in:
parent
09b8126909
commit
211db6fc6e
1 changed files with 1 additions and 1 deletions
|
|
@ -275,7 +275,7 @@ pub trait SurfaceExtWeb: Sized {
|
|||
/// - If a another context then "2d" was already created for this canvas.
|
||||
fn from_canvas(canvas: HtmlCanvasElement) -> Result<Self, SoftBufferError>;
|
||||
|
||||
/// Creates a new instance of this struct, using the provided [`HtmlCanvasElement`].
|
||||
/// Creates a new instance of this struct, using the provided [`OffscreenCanvas`].
|
||||
///
|
||||
/// # Errors
|
||||
/// If a another context then "2d" was already created for this canvas.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue