Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion staging/vhost-device-video/src/vhu_video.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ pub(crate) struct VuVideoBackend {
}

impl VuVideoBackend {
/// Create a new virtio video device for /dev/video<num>.
/// Create a new virtio video device for /dev/video\<num>.
Copy link
Member

Choose a reason for hiding this comment

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

What about using `` for the path?
I mean this:

Suggested change
/// Create a new virtio video device for /dev/video\<num>.
/// Create a new virtio video device for `/dev/video<num>`.

pub fn new(video_path: &Path, video_backend: BackendType) -> Result<Self> {
let backend = Arc::new(RwLock::new(video_backends::alloc_video_backend(
video_backend,
Expand Down