Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into reskin
Browse files Browse the repository at this point in the history
  • Loading branch information
fionnachan committed Aug 31, 2023
2 parents 10edbe1 + 66588a8 commit 87036fc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion arbitrum-docs/stylus/reference/rust-sdk-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ impl Contract {
/// Updates the owner in storage
pub fn set_owner(&mut self, new_owner: Address) -> Result<(), Vec<u8>> {
if msg::sender() == self.owner()? { // we'll discuss msg::sender later
self.owner.set(new_number);
self.owner.set(new_owner);
}
Ok(())
}
Expand Down
5 changes: 5 additions & 0 deletions vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@
"destination": "/stylus/stylus-gentle-introduction",
"permanent": false
},
{
"source": "/stylus/",
"destination": "/stylus/stylus-gentle-introduction",
"permanent": false
},
{
"source": "/stylus/rust-sdk-guide",
"destination": "/stylus/reference/rust-sdk-guide",
Expand Down

0 comments on commit 87036fc

Please sign in to comment.