Skip to content

Remove unecessary mut reference#118

Merged
bergwolf merged 1 commit intocloud-hypervisor:masterfrom
matthiasgoergens:matthias/remove-mut
Apr 19, 2023
Merged

Remove unecessary mut reference#118
bergwolf merged 1 commit intocloud-hypervisor:masterfrom
matthiasgoergens:matthias/remove-mut

Conversation

@matthiasgoergens
Copy link
Contributor

No description provided.


/// Expose the associated FUSE session file.
pub fn get_fuse_file(&mut self) -> Option<&File> {
pub fn get_fuse_file(&self) -> Option<&File> {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's another instance in src/transport/fusedev/macos_session.rs. Could you modify both of them? Thanks!

Signed-off-by: Peng Tao <bergwolf@hyper.sh>
@bergwolf bergwolf force-pushed the matthias/remove-mut branch from b92d061 to 5576ed6 Compare April 19, 2023 03:11
@matthiasgoergens
Copy link
Contributor Author

Thanks for removing the other instance, too!

@bergwolf bergwolf merged commit d700482 into cloud-hypervisor:master Apr 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants