Fix minor documentation issues in pane_grid

This commit is contained in:
Héctor Ramón Jiménez 2020-03-19 09:43:36 +01:00
parent bb898fa2e2
commit 420275793e
2 changed files with 10 additions and 2 deletions

View file

@ -18,8 +18,9 @@ use std::collections::HashMap;
///
/// [`PaneGrid`]: struct.PaneGrid.html
/// [`PaneGrid::new`]: struct.PaneGrid.html#method.new
/// [`State`]: struct.State.html
/// [`Pane`]: struct.Pane.html
/// [`Split`]: struct.Split.html
/// [`State`]: struct.State.html
#[derive(Debug)]
pub struct State<T> {
pub(super) panes: HashMap<Pane, T>,
@ -28,6 +29,8 @@ pub struct State<T> {
}
/// The current focus of a [`Pane`].
///
/// [`Pane`]: struct.Pane.html
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum Focus {
/// The [`Pane`] is just focused.