Skip to content

Commit 8e17db4

Browse files
committed
f rename
1 parent 2b5e7b0 commit 8e17db4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning/src/routing/scoring.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,12 +148,12 @@ impl<'a, T: 'a + Score> LockableScore<'a> for RefCell<T> {
148148

149149
#[cfg(c_bindings)]
150150
/// A concrete implementation of [`LockableScore`] which supports multi-threading.
151-
pub struct ScoreHolder<S: Score> { // TODO(jkczyz): Name this better
151+
pub struct MultiThreadedLockableScore<S: Score> {
152152
score: Mutex<S>,
153153
}
154154
#[cfg(c_bindings)]
155155
/// (C-not exported)
156-
impl<'a, T: Score + 'a> LockableScore<'a> for ScoreHolder<T> {
156+
impl<'a, T: Score + 'a> LockableScore<'a> for MultiThreadedLockableScore<T> {
157157
type Locked = MutexGuard<'a, T>;
158158

159159
fn lock(&'a self) -> MutexGuard<'a, T> {

0 commit comments

Comments
 (0)