mirror of
https://github.com/TECHNOFAB11/tmux-copyrat.git
synced 2025-12-15 09:23:51 +01:00
refactor: refactor
This commit is contained in:
parent
01d6e62689
commit
1ea1af7bdd
4 changed files with 79 additions and 30 deletions
|
|
@ -97,6 +97,12 @@ impl FromStr for PaneId {
|
|||
}
|
||||
}
|
||||
|
||||
impl PaneId {
|
||||
pub fn as_str(&self) -> &str {
|
||||
&self.0
|
||||
}
|
||||
}
|
||||
|
||||
impl fmt::Display for PaneId {
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
write!(f, "{}", self.0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue