mirror of
https://github.com/gitui-org/gitui
synced 2026-05-23 08:58:21 +00:00
cleanup
This commit is contained in:
parent
f1fcd341c6
commit
dcfdc42003
1 changed files with 1 additions and 4 deletions
|
|
@ -97,10 +97,7 @@ impl CommitList {
|
||||||
}
|
}
|
||||||
|
|
||||||
///
|
///
|
||||||
//TODO: make const as soon as Option::<T>::as_ref
|
pub const fn tags(&self) -> Option<&Tags> {
|
||||||
// is stabilizeD to be const (not as of rust 1.47)
|
|
||||||
#[allow(clippy::missing_const_for_fn)]
|
|
||||||
pub fn tags(&self) -> Option<&Tags> {
|
|
||||||
self.tags.as_ref()
|
self.tags.as_ref()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue