just 0.8.0

🤖 Just a command runner
Documentation
1
2
3
4
5
6
7
8
9
10
11
use crate::common::*;

pub(crate) trait Keyed<'key> {
  fn key(&self) -> &'key str;
}

impl<'key, T: Keyed<'key>> Keyed<'key> for Rc<T> {
  fn key(&self) -> &'key str {
    self.as_ref().key()
  }
}