This website works better with JavaScript.
Home
Explore
Help
Sign In
titouan
/
solstice
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Avoid reaching into RoomEntry from RoomMap.
main
Titouan Rigoudy
2 years ago
parent
42338c1c59
commit
b52ef853a5
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
client/src/room/map.rs
+ 1
- 1
client/src/room/map.rs
View File
@ -155,7 +155,7 @@ impl RoomMap {
self
.
map
.
insert
(
name
.
clone
(
)
,
RoomEntry
::
new
(
name
,
room
)
)
.
map
(
|
entry
|
entry
.
state
)
.
map
(
|
entry
|
entry
.
into_
state
(
)
)
}
/// Looks up the given room name in the map, returning an immutable
Write
Preview
Loading…
Cancel
Save