use less repetitive name

This commit is contained in:
mrmiywj 2016-06-09 21:11:21 -07:00
parent 3fa0dca3a3
commit 46cadfdd2c
6 changed files with 162 additions and 162 deletions

View file

@ -74,7 +74,7 @@ impl LayoutRPC for LayoutRPCImpl {
if update_cursor {
// Compute the new cursor.
let cursor = match *result {
None => Cursor::DefaultCursor,
None => Cursor::Default,
Some(dim) => dim.pointing.unwrap(),
};
rw_data.constellation_chan.send(ConstellationMsg::SetCursor(cursor)).unwrap();