Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark McCaskey committed Oct 1, 2020
1 parent 7612270 commit f090e29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/wasi/src/state/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ impl PreopenDirBuilder {
pub fn alias(&mut self, alias: &str) -> &mut Self {
// We mount at preopened dirs at `/` by default and multiple `/` in a row
// are equal to a single `/`.
let alias = alias.trim_start_matches(b'/');
let alias = alias.trim_start_matches('/');
self.alias = Some(alias.to_string());

self
Expand Down

0 comments on commit f090e29

Please sign in to comment.