summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/dining_philosophers.rs2
-rw-r--r--examples/double_mutex.rs2
-rw-r--r--examples/list.rs2
3 files changed, 3 insertions, 3 deletions
diff --git a/examples/dining_philosophers.rs b/examples/dining_philosophers.rs
index 34efb0e..2f2fa0d 100644
--- a/examples/dining_philosophers.rs
+++ b/examples/dining_philosophers.rs
@@ -1,6 +1,6 @@
use std::{thread, time::Duration};
-use happylock::{Mutex, RefLockCollection, ThreadKey};
+use happylock::{collection::RefLockCollection, Mutex, ThreadKey};
static PHILOSOPHERS: [Philosopher; 5] = [
Philosopher {
diff --git a/examples/double_mutex.rs b/examples/double_mutex.rs
index cd627c4..e2b08df 100644
--- a/examples/double_mutex.rs
+++ b/examples/double_mutex.rs
@@ -1,6 +1,6 @@
use std::thread;
-use happylock::{Mutex, RefLockCollection, ThreadKey};
+use happylock::{collection::RefLockCollection, Mutex, ThreadKey};
const N: usize = 10;
diff --git a/examples/list.rs b/examples/list.rs
index cf344e7..dda468a 100644
--- a/examples/list.rs
+++ b/examples/list.rs
@@ -1,6 +1,6 @@
use std::thread;
-use happylock::{Mutex, RefLockCollection, ThreadKey};
+use happylock::{collection::RefLockCollection, Mutex, ThreadKey};
const N: usize = 10;