Skip to content

Commit e14eebb

Browse files
Make Lifetime struct field public
1 parent f5e0d0c commit e14eebb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/clean/types.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -748,7 +748,7 @@ impl GenericBound {
748748
}
749749

750750
#[derive(Clone, PartialEq, Eq, Debug, Hash)]
751-
pub struct Lifetime(String);
751+
pub struct Lifetime(pub String);
752752

753753
impl Lifetime {
754754
pub fn get_ref<'a>(&'a self) -> &'a str {

0 commit comments

Comments
 (0)