mount an atproto PDS repository as a FUSE filesystem oppi.li/posts/mounting_the_atmosphere/
111
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix build warning by making options immutable #1

open opened by radovan.xyz targeting main from radovan.xyz/pdsfs: radovan/fix-warning

fixes this warning:

warning: variable does not need to be mutable
   --> src/main.rs:140:9
    |
140 |     let mut options = vec![
    |         ----^^^^^^^
    |         |
    |         help: remove this `mut`
    |
    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
Labels

None yet.

Participants 1
AT URI
at://did:plc:4twbev6qalnl6bx55chzktem/sh.tangled.repo.pull/3mkdpiipgny22
+1 -1
Diff #0
+1 -1
src/main.rs
··· 137 137 let (_repos_arc, inodes_arc, sizes_arc, content_cache_arc) = fs.get_shared_state(); 138 138 139 139 // mount 140 - let mut options = vec![ 140 + let options = vec![ 141 141 MountOption::RO, 142 142 MountOption::FSName("pdsfs".to_string()), 143 143 MountOption::AllowOther,

History

1 round 0 comments
sign up or login to add to the discussion
radovan.xyz submitted #0
1 commit
expand
fix build warning by making options immutable
merge conflicts detected
expand
  • src/main.rs:137
expand 0 comments