diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2019-12-03 22:22:26 +0100 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2019-12-04 13:13:59 +0100 |
| commit | e14eebb6bb15fb24933a00f4ee7d2776c95ec599 (patch) | |
| tree | b7d24d0aba9d3c8885a578ca552a97b17ffc0ba9 | |
| parent | f5e0d0cc18c4450fa0d8cbe0802154c392eb4570 (diff) | |
| download | rust-e14eebb6bb15fb24933a00f4ee7d2776c95ec599.tar.gz rust-e14eebb6bb15fb24933a00f4ee7d2776c95ec599.zip | |
Make Lifetime struct field public
| -rw-r--r-- | src/librustdoc/clean/types.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/clean/types.rs b/src/librustdoc/clean/types.rs index 1880824571a..8ace072b7bb 100644 --- a/src/librustdoc/clean/types.rs +++ b/src/librustdoc/clean/types.rs @@ -748,7 +748,7 @@ impl GenericBound { } #[derive(Clone, PartialEq, Eq, Debug, Hash)] -pub struct Lifetime(String); +pub struct Lifetime(pub String); impl Lifetime { pub fn get_ref<'a>(&'a self) -> &'a str { |
