mirror of
https://github.com/openai/codex.git
synced 2026-11-21 22:50:37 +00:00
Remove unused functions and methods
This commit is contained in:
Vendored
-6
@@ -63,12 +63,6 @@ where
|
||||
value()
|
||||
}
|
||||
|
||||
/// Builds a cache if `capacity` is non-zero, returning `None` otherwise.
|
||||
#[must_use]
|
||||
pub fn try_with_capacity(capacity: usize) -> Option<Self> {
|
||||
NonZeroUsize::new(capacity).map(Self::new)
|
||||
}
|
||||
|
||||
/// Returns a clone of the cached value corresponding to `key`, if present.
|
||||
pub fn get<Q>(&self, key: &Q) -> Option<V>
|
||||
where
|
||||
|
||||
Reference in New Issue
Block a user